Patchwork [RFC,v4,1/3] configure: Add CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization

login
register
mail settings
Submitter YeongKyoon Lee
Date July 25, 2012, 7:35 a.m.
Message ID <1343201734-12062-2-git-send-email-yeongkyoon.lee@samsung.com>
Download mbox | patch
Permalink /patch/173116/
State New
Headers show

Comments

YeongKyoon Lee - July 25, 2012, 7:35 a.m.
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 <yeongkyoon.lee@samsung.com>
---
 configure |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Patch

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