From patchwork Wed Oct 31 07:04:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v8, 1/3] configure: Add CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization Date: Tue, 30 Oct 2012 21:04:23 -0000 From: YeongKyoon Lee X-Patchwork-Id: 195754 Message-Id: <1351667065-16274-2-git-send-email-yeongkyoon.lee@samsung.com> To: qemu-devel@nongnu.org Cc: blauwirbel@gmail.com, Yeongkyoon Lee , aurelien@aurel32.net, 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 file changed, 6 insertions(+) diff --git a/configure b/configure index 9c6ac87..4be984e 100755 --- a/configure +++ b/configure @@ -3847,6 +3847,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