aboutsummaryrefslogtreecommitdiff
path: root/tcg/sparc/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2010-02-16 14:02:04 -0800
committerBlue Swirl <blauwirbel@gmail.com>2010-02-20 08:32:35 +0000
commitbe6551b1e757fab6b3e43aa8833f655a7745204a (patch)
tree84cba9cc7dc29b8b4f530c6810d563a8f77b3162 /tcg/sparc/tcg-target.h
parent4b5a85c175768faf302cf8349d8613dbc1ac5f54 (diff)
downloadqemu-be6551b1e757fab6b3e43aa8833f655a7745204a.zip
qemu-be6551b1e757fab6b3e43aa8833f655a7745204a.tar.gz
qemu-be6551b1e757fab6b3e43aa8833f655a7745204a.tar.bz2
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 <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tcg/sparc/tcg-target.h')
-rw-r--r--tcg/sparc/tcg-target.h2
1 files changed, 2 insertions, 0 deletions
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