|
From: | YeongKyoon Lee |
Subject: | [Qemu-devel] [RFC PATCH 3/3] configure: add CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization |
Date: | Mon, 02 Jan 2012 12:57:06 +0000 (GMT) |
Add an option "--enable-ldst-optimization" to enable CONFIG_QEMU_LDST_OPTIMIZATION macro for TCG qemu_ld/st optimization.
Signed-off-by: Yeongkyoon Lee <address@hidden>
---
configure | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 640e815..e2c3279 100755
--- a/configure
+++ b/configure
@@ -165,6 +165,7 @@ bsd="no"
linux="no"
solaris="no"
profiler="no"
+ldst_optimization="no"
cocoa="no"
softmmu="yes"
linux_user="no"
@@ -678,6 +679,8 @@ for opt do
;;
--enable-profiler) profiler="yes"
;;
+ --enable-ldst-optimization) ldst_optimization="yes"
+ ;;
--enable-cocoa)
cocoa="yes" ;
sdl="no" ;
@@ -2822,6 +2825,7 @@ echo "gprof enabled $gprof"
echo "sparse enabled $sparse"
echo "strip binaries $strip_opt"
echo "profiler $profiler"
+echo "Fast TCG ld/st $ldst_optimization"
echo "static build $static"
echo "-Werror enabled $werror"
if test "$darwin" = "yes" ; then
@@ -2977,6 +2981,9 @@ fi
if test "$profiler" = "yes" ; then
echo "CONFIG_PROFILER=y" >> $config_host_mak
fi
+if test "$ldst_optimization" = "yes" ; then
+ echo "CONFIG_QEMU_LDST_OPTIMIZATION=y" >> $config_host_mak
+fi
if test "$slirp" = "yes" ; then
echo "CONFIG_SLIRP=y" >> $config_host_mak
echo "CONFIG_SMBD_COMMAND=\"$smbd\"" >> $config_host_mak
[Prev in Thread] | Current Thread | [Next in Thread] |