OSDN Git Service

tcg/tci: Remove ifdefs for TCG_TARGET_HAS_ext32[us]_i64
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 29 Jan 2021 22:23:03 +0000 (12:23 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 17 Mar 2021 13:24:44 +0000 (07:24 -0600)
These operations are always available under different names:
INDEX_op_ext_i32_i64 and INDEX_op_extu_i32_i64, so we remove
no code with the ifdef.

Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tci.c

index 3ccd30c..6a0bdf0 100644 (file)
--- a/tcg/tci.c
+++ b/tcg/tci.c
@@ -774,17 +774,13 @@ uintptr_t QEMU_DISABLE_CFI tcg_qemu_tb_exec(CPUArchState *env,
                 continue;
             }
             break;
-#if TCG_TARGET_HAS_ext32s_i64
         case INDEX_op_ext32s_i64:
-#endif
         case INDEX_op_ext_i32_i64:
             t0 = *tb_ptr++;
             t1 = tci_read_r(regs, &tb_ptr);
             tci_write_reg(regs, t0, (int32_t)t1);
             break;
-#if TCG_TARGET_HAS_ext32u_i64
         case INDEX_op_ext32u_i64:
-#endif
         case INDEX_op_extu_i32_i64:
             t0 = *tb_ptr++;
             t1 = tci_read_r(regs, &tb_ptr);