summaryrefslogtreecommitdiffstats
path: root/tcg/tci/tcg-target.h
diff options
context:
space:
mode:
authorAurelien Jarno2015-07-27 12:41:45 +0200
committerRichard Henderson2015-08-24 20:10:54 +0200
commit0632e555fc4d281d69cb08d98d500d96185b041f (patch)
treeafda468f981062df0f88c1dc63be187731f2ad8f /tcg/tci/tcg-target.h
parenttcg/optimize: allow constant to have copies (diff)
downloadqemu-0632e555fc4d281d69cb08d98d500d96185b041f.tar.gz
qemu-0632e555fc4d281d69cb08d98d500d96185b041f.tar.xz
qemu-0632e555fc4d281d69cb08d98d500d96185b041f.zip
tcg: rename trunc_shr_i32 into trunc_shr_i64_i32
The op is sometimes named trunc_shr_i32 and sometimes trunc_shr_i64_i32, and the name in the README doesn't match the name offered to the frontends. Always use the long name to make it clear it is a size changing op. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/tci/tcg-target.h')
-rw-r--r--tcg/tci/tcg-target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h
index cbf3f9b5a6..8b1139b3f2 100644
--- a/tcg/tci/tcg-target.h
+++ b/tcg/tci/tcg-target.h
@@ -84,7 +84,7 @@
#define TCG_TARGET_HAS_mulsh_i32 0
#if TCG_TARGET_REG_BITS == 64
-#define TCG_TARGET_HAS_trunc_shr_i32 0
+#define TCG_TARGET_HAS_trunc_shr_i64_i32 0
#define TCG_TARGET_HAS_bswap16_i64 1
#define TCG_TARGET_HAS_bswap32_i64 1
#define TCG_TARGET_HAS_bswap64_i64 1