summaryrefslogtreecommitdiffstats
path: root/tcg/ppc64/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson2013-01-31 06:16:38 +0100
committerRichard Henderson2013-04-15 20:09:44 +0200
commit5d221582009d942de77a538d21b09c9120929dc5 (patch)
tree534388d03e5ddd476c88940c20fe9d57ac3ac92b /tcg/ppc64/tcg-target.h
parenttcg-ppc64: Implement rotates (diff)
downloadqemu-5d221582009d942de77a538d21b09c9120929dc5.tar.gz
qemu-5d221582009d942de77a538d21b09c9120929dc5.tar.xz
qemu-5d221582009d942de77a538d21b09c9120929dc5.zip
tcg-ppc64: Implement bswap16 and bswap32
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/ppc64/tcg-target.h')
-rw-r--r--tcg/ppc64/tcg-target.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tcg/ppc64/tcg-target.h b/tcg/ppc64/tcg-target.h
index b2713a090c..7cd1e98e3a 100644
--- a/tcg/ppc64/tcg-target.h
+++ b/tcg/ppc64/tcg-target.h
@@ -79,8 +79,8 @@ typedef enum {
#define TCG_TARGET_HAS_rot_i32 1
#define TCG_TARGET_HAS_ext8s_i32 1
#define TCG_TARGET_HAS_ext16s_i32 1
-#define TCG_TARGET_HAS_bswap16_i32 0
-#define TCG_TARGET_HAS_bswap32_i32 0
+#define TCG_TARGET_HAS_bswap16_i32 1
+#define TCG_TARGET_HAS_bswap32_i32 1
#define TCG_TARGET_HAS_not_i32 1
#define TCG_TARGET_HAS_neg_i32 1
#define TCG_TARGET_HAS_andc_i32 0
@@ -100,8 +100,8 @@ typedef enum {
#define TCG_TARGET_HAS_ext8s_i64 1
#define TCG_TARGET_HAS_ext16s_i64 1
#define TCG_TARGET_HAS_ext32s_i64 1
-#define TCG_TARGET_HAS_bswap16_i64 0
-#define TCG_TARGET_HAS_bswap32_i64 0
+#define TCG_TARGET_HAS_bswap16_i64 1
+#define TCG_TARGET_HAS_bswap32_i64 1
#define TCG_TARGET_HAS_bswap64_i64 0
#define TCG_TARGET_HAS_not_i64 1
#define TCG_TARGET_HAS_neg_i64 1