OSDN Git Service

tcg-arm: Use AT_PLATFORM to detect the host ISA
authorRichard Henderson <rth@twiddle.net>
Thu, 6 Jun 2013 17:46:35 +0000 (10:46 -0700)
committerRichard Henderson <rth@twiddle.net>
Tue, 9 Jul 2013 14:15:13 +0000 (07:15 -0700)
commit1e709f38331ef5bab76cd454c61d4af982cadf0b
tree98b726366322989271ee130d67f96cec235e4fd2
parentcb91021a4786efdd6e4ca1ebfd8729481466bbb8
tcg-arm: Use AT_PLATFORM to detect the host ISA

With this we can generate armv7 insns even when the OS compiles for a
lower common denominator.  The macros are arranged so that when we do
compile for a given ISA, all of the runtime checks for that ISA are
optimized away.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/arm/tcg-target.c