Received: from eggs.gnu.org ([208.118.235.92]:53360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Stw7r-0006mU-5g for qemu-devel@nongnu.org; Wed, 25 Jul 2012 03:35:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Stw7n-0005UU-SK for qemu-devel@nongnu.org; Wed, 25 Jul 2012 03:35:19 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:19692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Stw7n-0005UA-If for qemu-devel@nongnu.org; Wed, 25 Jul 2012 03:35:15 -0400 Received: from epcpsbgm1.samsung.com (mailout4.samsung.com [203.254.224.34]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M7P00E3YH25A4F0@mailout4.samsung.com> for qemu-devel@nongnu.org; Wed, 25 Jul 2012 16:35:05 +0900 (KST) Received: from localhost.localdomain ([182.198.1.3]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M7P00686H27KZ11@mmp1.samsung.com> for qemu-devel@nongnu.org; Wed, 25 Jul 2012 16:35:05 +0900 (KST) From: Yeongkyoon Lee Date: Wed, 25 Jul 2012 16:35:32 +0900 Message-id: <1343201734-12062-2-git-send-email-yeongkyoon.lee@samsung.com> In-reply-to: <1343201734-12062-1-git-send-email-yeongkyoon.lee@samsung.com> References: <1343201734-12062-1-git-send-email-yeongkyoon.lee@samsung.com> Subject: [Qemu-devel] [RFC][PATCH v4 1/3] configure: Add CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Yeongkyoon Lee , sw@weilnetz.de, blauwirbel@gmail.com, laurent.desnogues@gmail.com, rth@twiddle.net 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(-) diff --git a/configure b/configure index cef0a71..d5b69de 100755 --- a/configure +++ b/configure @@ -3719,6 +3719,12 @@ case "$target_arch2" in ;; esac +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 -- 1.7.4.1