Skip to content

Commit

Permalink
configure: Add CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optim…
Browse files Browse the repository at this point in the history
…ization

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>
  • Loading branch information
Yeongkyoon Lee authored and blueswirl committed Nov 3, 2012
1 parent 1073bfd commit 3276125
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configure
Expand Up @@ -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
Expand Down

0 comments on commit 3276125

Please sign in to comment.