diff options
author | Yeongkyoon Lee <yeongkyoon.lee@samsung.com> | 2012-10-31 16:04:23 +0900 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-11-03 09:44:18 +0000 |
commit | 32761257c0b9fa7ee04d2871a6e48a41f119c469 (patch) | |
tree | 6f7122aca181617f45d1c0c563e3440161d0926e | |
parent | 1073bfd8c0829be06e6ad1cbb4a2f48f8bb594bc (diff) | |
download | qemu-32761257c0b9fa7ee04d2871a6e48a41f119c469.zip qemu-32761257c0b9fa7ee04d2871a6e48a41f119c469.tar.gz qemu-32761257c0b9fa7ee04d2871a6e48a41f119c469.tar.bz2 |
configure: Add CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization
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>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3881,6 +3881,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 |