aboutsummaryrefslogtreecommitdiff
path: root/tcg/ppc
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-08-22 10:51:10 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-08-24 11:22:42 -0700
commit13d885b0ad4ada4d216b0341de5ae4a9ce3f5abb (patch)
tree364b0af3ef688ffa9ee1aa1b58d1fa3f95db78fa /tcg/ppc
parentbb9d7ee83e7279d71dae5dfba4d149abbf2c3b59 (diff)
downloadqemu-13d885b0ad4ada4d216b0341de5ae4a9ce3f5abb.zip
qemu-13d885b0ad4ada4d216b0341de5ae4a9ce3f5abb.tar.gz
qemu-13d885b0ad4ada4d216b0341de5ae4a9ce3f5abb.tar.bz2
tcg: Unify TCG_TARGET_HAS_extr[lh]_i64_i32
Replace the separate defines with TCG_TARGET_HAS_extr_i64_i32, so that the two parts of backend-specific type changing cannot be out of sync. Reported-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: <20230822175127.1173698-1-richard.henderson@linaro.org>
Diffstat (limited to 'tcg/ppc')
-rw-r--r--tcg/ppc/tcg-target.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tcg/ppc/tcg-target.h b/tcg/ppc/tcg-target.h
index 9a41fab..37b54e6 100644
--- a/tcg/ppc/tcg-target.h
+++ b/tcg/ppc/tcg-target.h
@@ -106,8 +106,7 @@ typedef enum {
#if TCG_TARGET_REG_BITS == 64
#define TCG_TARGET_HAS_add2_i32 0
#define TCG_TARGET_HAS_sub2_i32 0
-#define TCG_TARGET_HAS_extrl_i64_i32 0
-#define TCG_TARGET_HAS_extrh_i64_i32 0
+#define TCG_TARGET_HAS_extr_i64_i32 0
#define TCG_TARGET_HAS_div_i64 1
#define TCG_TARGET_HAS_rem_i64 have_isa_3_00
#define TCG_TARGET_HAS_rot_i64 1