diff options
author | Richard Henderson <rth@twiddle.net> | 2012-12-28 14:17:02 -0800 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-12-29 12:21:16 +0000 |
commit | 76a347e1cd0c2d6959461c89dda15ef5c4140da6 (patch) | |
tree | 6f409224cb177c5aaba1871e0c82b9b179329913 /tcg/i386/tcg-target.h | |
parent | afcb92beac9e477e5ae5c36bf38830e225e2235f (diff) |
tcg-i386: Perform cmov detection at runtime for 32-bit.
Existing compile-time detection is spotty at best. Convert
it all to runtime detection instead.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tcg/i386/tcg-target.h')
-rw-r--r-- | tcg/i386/tcg-target.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h index 5352ac0254..e63db9cfe9 100644 --- a/tcg/i386/tcg-target.h +++ b/tcg/i386/tcg-target.h @@ -91,12 +91,7 @@ typedef enum { #define TCG_TARGET_HAS_nand_i32 0 #define TCG_TARGET_HAS_nor_i32 0 #define TCG_TARGET_HAS_deposit_i32 1 -#if defined(__x86_64__) || defined(__i686__) -/* Use cmov only if the compiler is already doing so. */ #define TCG_TARGET_HAS_movcond_i32 1 -#else -#define TCG_TARGET_HAS_movcond_i32 0 -#endif #if TCG_TARGET_REG_BITS == 64 #define TCG_TARGET_HAS_div2_i64 1 |