diff options
| author | Richard Henderson | 2014-03-06 20:46:11 +0100 |
|---|---|---|
| committer | Richard Henderson | 2014-04-28 20:06:35 +0200 |
| commit | f4c166619ed433e43bdc77ceeb0fbc2832915725 (patch) | |
| tree | 0c8dc19652c5d226e765b17a6fb4130f9c753db9 /tcg/sparc/tcg-target.h | |
| parent | tcg-sparc: Use the RETURN instruction (diff) | |
| download | qemu-f4c166619ed433e43bdc77ceeb0fbc2832915725.tar.gz qemu-f4c166619ed433e43bdc77ceeb0fbc2832915725.tar.xz qemu-f4c166619ed433e43bdc77ceeb0fbc2832915725.zip | |
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.h | 2 |
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 |
