From patchwork Tue Oct 16 07:23:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YeongKyoon Lee X-Patchwork-Id: 191744 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D52982C008A for ; Tue, 16 Oct 2012 18:24:01 +1100 (EST) Received: from localhost ([::1]:42282 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TO1VP-0008AK-Vb for incoming@patchwork.ozlabs.org; Tue, 16 Oct 2012 03:23:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TO1V5-0007fT-KG for qemu-devel@nongnu.org; Tue, 16 Oct 2012 03:23:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TO1V1-0000Bt-Mb for qemu-devel@nongnu.org; Tue, 16 Oct 2012 03:23:39 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:32453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TO1V1-0000Bf-Cy for qemu-devel@nongnu.org; Tue, 16 Oct 2012 03:23:35 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MBZ00A3Q5TD2IL0@mailout2.samsung.com> for qemu-devel@nongnu.org; Tue, 16 Oct 2012 16:23:33 +0900 (KST) X-AuditID: cbfee61a-b7f976d000001eb9-43-507d0b748d86 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id ED.16.07865.47B0D705; Tue, 16 Oct 2012 16:23:33 +0900 (KST) Received: from localhost.localdomain ([182.198.1.3]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MBZ00JZ65UT6QD0@mmp2.samsung.com> for qemu-devel@nongnu.org; Tue, 16 Oct 2012 16:23:32 +0900 (KST) From: Yeongkyoon Lee To: qemu-devel@nongnu.org Date: Tue, 16 Oct 2012 16:23:08 +0900 Message-id: <1350372190-32186-2-git-send-email-yeongkyoon.lee@samsung.com> X-Mailer: git-send-email 1.7.5.4 In-reply-to: <1350372190-32186-1-git-send-email-yeongkyoon.lee@samsung.com> References: <1350372190-32186-1-git-send-email-yeongkyoon.lee@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLJMWRmVeSWpSXmKPExsVy+t9jQd1S7toAg38nmSyO9+5gcWD0eHJt M1MAYxSXTUpqTmZZapG+XQJXxvuXJ5kKFrBVHL3C0cA4m7WLkZNDQsBEYuucvYwQtpjEhXvr 2UBsIYHpjBJvDyd1MXIA2fOYJH7GgITZBAwlZp5/wgRiiwhISvzuOs0MUsIskCdxbooySFhY oEji7Jn1LCA2i4CqxPfb7xhBSngFvCRWPTODWKQg8evIKrADOAW8JXZuWs0OsdRL4vWcPSwT GHkXMDKsYhRNLUguKE5KzzXUK07MLS7NS9dLzs/dxAj29DOpHYwrGywOMQpwMCrx8GY41wQI sSaWFVfmHmKU4GBWEuH1mAgU4k1JrKxKLcqPLyrNSS0+xCjNwaIkztvskRIgJJCeWJKanZpa kFoEk2Xi4JRqYDQ22nnivc3hiTZLDs6qfXg4YoGrwPEvZXoVG63OF399OGGzsCxnhMymn8Ez tkp9vRp9Nlnu87807e8L+b3Zvz7yDXoh/fiflnhRoeJdTUYtrQLV29efR3WtlH90fWFTe8Gm G236U6e6d+d5TTl90p1FzsVg1yPfZx1MV0LnzW80bdGY+73hn7ASS3FGoqEWc1FxIgCaFSv9 8AEAAA== X-detected-operating-system: by eggs.gnu.org: Solaris 10 (1203?) X-Received-From: 203.254.224.25 Cc: blauwirbel@gmail.com, Yeongkyoon Lee , aurelien@aurel32.net, rth@twiddle.net Subject: [Qemu-devel] [PATCH v6 1/3] configure: Add CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Enable CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization only when a host is i386 or x86_64. Signed-off-by: Yeongkyoon Lee --- configure | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) -- 1.7.5.4 diff --git a/configure b/configure index 353d788..8b15111 100755 --- a/configure +++ b/configure @@ -3848,6 +3848,12 @@ upper() { echo "$@"| LC_ALL=C tr '[a-z]' '[A-Z]' } +case "$cpu" in + i386|x86_64) + echo "CONFIG_QEMU_LDST_OPTIMIZATION=y" >> $config_target_mak + ;; +esac + echo "TARGET_SHORT_ALIGNMENT=$target_short_alignment" >> $config_target_mak echo "TARGET_INT_ALIGNMENT=$target_int_alignment" >> $config_target_mak echo "TARGET_LONG_ALIGNMENT=$target_long_alignment" >> $config_target_mak