From be6551b1e757fab6b3e43aa8833f655a7745204a Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 16 Feb 2010 14:02:04 -0800 Subject: tcg-sparc: Implement not. The fallback implementation of "ret = arg1 ^ -1" isn't ideal because of the extra tcg op to load the minus one. Signed-off-by: Richard Henderson Signed-off-by: Blue Swirl --- tcg/sparc/tcg-target.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tcg/sparc/tcg-target.h') diff --git a/tcg/sparc/tcg-target.h b/tcg/sparc/tcg-target.h index 66031ba..f5ee205 100644 --- a/tcg/sparc/tcg-target.h +++ b/tcg/sparc/tcg-target.h @@ -92,11 +92,13 @@ enum { #define TCG_TARGET_HAS_div_i64 #define TCG_TARGET_HAS_neg_i32 +#define TCG_TARGET_HAS_not_i32 #if TCG_TARGET_REG_BITS == 64 #define TCG_TARGET_HAS_ext32s_i64 #define TCG_TARGET_HAS_ext32u_i64 #define TCG_TARGET_HAS_neg_i64 +#define TCG_TARGET_HAS_not_i64 #endif //#define TCG_TARGET_HAS_bswap32_i32 -- cgit v1.1