aboutsummaryrefslogtreecommitdiff
path: root/tcg/sparc/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-03-06 11:46:11 -0800
committerRichard Henderson <rth@twiddle.net>2014-04-28 11:06:35 -0700
commitf4c166619ed433e43bdc77ceeb0fbc2832915725 (patch)
tree0c8dc19652c5d226e765b17a6fb4130f9c753db9 /tcg/sparc/tcg-target.h
parent8b66eefe0d3c5eafba498157a2f6169c9828b77b (diff)
tcg-sparc: Implement muls2_i32
Using the 32-bit SMUL is a tad more efficient than resorting to extending and using the 64-bit MULX. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/sparc/tcg-target.h')
-rw-r--r--tcg/sparc/tcg-target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/sparc/tcg-target.h b/tcg/sparc/tcg-target.h
index 8ce85f8247..3a903dbfd0 100644
--- a/tcg/sparc/tcg-target.h
+++ b/tcg/sparc/tcg-target.h
@@ -106,7 +106,7 @@ typedef enum {
#define TCG_TARGET_HAS_add2_i32 1
#define TCG_TARGET_HAS_sub2_i32 1
#define TCG_TARGET_HAS_mulu2_i32 1
-#define TCG_TARGET_HAS_muls2_i32 0
+#define TCG_TARGET_HAS_muls2_i32 1
#define TCG_TARGET_HAS_muluh_i32 0
#define TCG_TARGET_HAS_mulsh_i32 0