summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorBlue Swirl2011-08-01 14:19:05 +0200
committerBlue Swirl2012-03-18 13:22:02 +0100
commit0184e266cb7584feefaf4b54abbaa9fa81b62fac (patch)
tree4685a7b60eaf0e0512667bcc019ed256ec90e6aa /configure
parentSparc: avoid AREG0 for memory access helpers (diff)
downloadqemu-0184e266cb7584feefaf4b54abbaa9fa81b62fac.tar.gz
qemu-0184e266cb7584feefaf4b54abbaa9fa81b62fac.tar.xz
qemu-0184e266cb7584feefaf4b54abbaa9fa81b62fac.zip
Sparc: avoid AREG0 wrappers for memory access helpers
Adjust generation of load and store templates so that the functions take a parameter for CPUState instead of relying on global env. Remove wrappers. Move remaining memory helpers to ldst_helper.c. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index afe7395577..8b4e3c1a02 100755
--- a/configure
+++ b/configure
@@ -3606,6 +3606,13 @@ case "$target_arch2" in
exit 1
;;
esac
+
+case "$target_arch2" in
+ sparc*)
+ echo "CONFIG_TCG_PASS_AREG0=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