[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 51/54] tcg/ppc: Remove unused constraint J
From: |
Richard Henderson |
Subject: |
[PATCH v4 51/54] tcg/ppc: Remove unused constraint J |
Date: |
Wed, 3 May 2023 07:57:26 +0100 |
Never used since its introduction.
Fixes: 3d582c6179c ("tcg-ppc64: Rearrange integer constant constraints")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
tcg/ppc/tcg-target-con-str.h | 1 -
tcg/ppc/tcg-target.c.inc | 3 ---
2 files changed, 4 deletions(-)
diff --git a/tcg/ppc/tcg-target-con-str.h b/tcg/ppc/tcg-target-con-str.h
index 9dcbc3df50..094613cbcb 100644
--- a/tcg/ppc/tcg-target-con-str.h
+++ b/tcg/ppc/tcg-target-con-str.h
@@ -16,7 +16,6 @@ REGS('v', ALL_VECTOR_REGS)
* CONST(letter, TCG_CT_CONST_* bit set)
*/
CONST('I', TCG_CT_CONST_S16)
-CONST('J', TCG_CT_CONST_U16)
CONST('M', TCG_CT_CONST_MONE)
CONST('T', TCG_CT_CONST_S32)
CONST('U', TCG_CT_CONST_U32)
diff --git a/tcg/ppc/tcg-target.c.inc b/tcg/ppc/tcg-target.c.inc
index 5a4ec0470a..0a14c3e997 100644
--- a/tcg/ppc/tcg-target.c.inc
+++ b/tcg/ppc/tcg-target.c.inc
@@ -83,7 +83,6 @@
#define SZR (TCG_TARGET_REG_BITS / 8)
#define TCG_CT_CONST_S16 0x100
-#define TCG_CT_CONST_U16 0x200
#define TCG_CT_CONST_S32 0x400
#define TCG_CT_CONST_U32 0x800
#define TCG_CT_CONST_ZERO 0x1000
@@ -270,8 +269,6 @@ static bool tcg_target_const_match(int64_t val, TCGType
type, int ct)
if ((ct & TCG_CT_CONST_S16) && val == (int16_t)val) {
return 1;
- } else if ((ct & TCG_CT_CONST_U16) && val == (uint16_t)val) {
- return 1;
} else if ((ct & TCG_CT_CONST_S32) && val == (int32_t)val) {
return 1;
} else if ((ct & TCG_CT_CONST_U32) && val == (uint32_t)val) {
--
2.34.1
- [PATCH v4 36/54] tcg/i386: Convert tcg_out_qemu_st_slow_path, (continued)
- [PATCH v4 36/54] tcg/i386: Convert tcg_out_qemu_st_slow_path, Richard Henderson, 2023/05/03
- [PATCH v4 42/54] tcg/riscv: Convert tcg_out_qemu_{ld,st}_slow_path, Richard Henderson, 2023/05/03
- [PATCH v4 40/54] tcg/mips: Convert tcg_out_qemu_{ld,st}_slow_path, Richard Henderson, 2023/05/03
- [PATCH v4 43/54] tcg/s390x: Convert tcg_out_qemu_{ld,st}_slow_path, Richard Henderson, 2023/05/03
- [PATCH v4 45/54] tcg/mips: Remove MO_BSWAP handling, Richard Henderson, 2023/05/03
- [PATCH v4 48/54] tcg/ppc: Reorg tcg_out_tlb_read, Richard Henderson, 2023/05/03
- [PATCH v4 46/54] tcg/mips: Reorg tlb load within prepare_host_addr, Richard Henderson, 2023/05/03
- [PATCH v4 44/54] tcg/loongarch64: Simplify constraints on qemu_ld/st, Richard Henderson, 2023/05/03
- [PATCH v4 47/54] tcg/mips: Simplify constraints on qemu_ld/st, Richard Henderson, 2023/05/03
- [PATCH v4 52/54] tcg/riscv: Simplify constraints on qemu_ld/st, Richard Henderson, 2023/05/03
- [PATCH v4 51/54] tcg/ppc: Remove unused constraint J,
Richard Henderson <=
- [PATCH v4 41/54] tcg/ppc: Convert tcg_out_qemu_{ld,st}_slow_path, Richard Henderson, 2023/05/03
- [PATCH v4 50/54] tcg/ppc: Remove unused constraints A, B, C, D, Richard Henderson, 2023/05/03
- [PATCH v4 54/54] tcg/s390x: Simplify constraints on qemu_ld/st, Richard Henderson, 2023/05/03
- [PATCH v4 49/54] tcg/ppc: Adjust constraints on qemu_ld/st, Richard Henderson, 2023/05/03
- [PATCH v4 53/54] tcg/s390x: Use ALGFR in constructing softmmu host address, Richard Henderson, 2023/05/03