[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 2/8] target/ppc: Remove unused xer_* macros
From: |
Víctor Colombo |
Subject: |
[PATCH v2 2/8] target/ppc: Remove unused xer_* macros |
Date: |
Tue, 6 Sep 2022 09:55:17 -0300 |
The macros xer_ov, xer_ca, xer_ov32, and xer_ca32 are both unused and
hiding the usage of env. Remove them.
Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
---
target/ppc/cpu.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h
index 985ff86f55..6481f48087 100644
--- a/target/ppc/cpu.h
+++ b/target/ppc/cpu.h
@@ -1506,10 +1506,6 @@ void ppc_compat_add_property(Object *obj, const char
*name,
#define XER_CMP 8
#define XER_BC 0
#define xer_so (env->so)
-#define xer_ov (env->ov)
-#define xer_ca (env->ca)
-#define xer_ov32 (env->ov)
-#define xer_ca32 (env->ca)
#define xer_cmp ((env->xer >> XER_CMP) & 0xFF)
#define xer_bc ((env->xer >> XER_BC) & 0x7F)
--
2.25.1
- [PATCH v2 0/8] Multiple ppc instructions fixes, Víctor Colombo, 2022/09/06
- [PATCH v2 1/8] target/ppc: Remove extra space from s128 field in ppc_vsr_t, Víctor Colombo, 2022/09/06
- [PATCH v2 2/8] target/ppc: Remove unused xer_* macros,
Víctor Colombo <=
- [PATCH v2 3/8] target/ppc: Zero second doubleword in DFP instructions, Víctor Colombo, 2022/09/06
- [PATCH v2 4/8] target/ppc: Set result to QNaN for DENBCD when VXCVI occurs, Víctor Colombo, 2022/09/06
- [PATCH v2 5/8] target/ppc: Zero second doubleword for VSX madd instructions, Víctor Colombo, 2022/09/06
- [PATCH v2 6/8] target/ppc: Set OV32 when OV is set, Víctor Colombo, 2022/09/06
- [PATCH v2 7/8] target/ppc: Zero second doubleword of VSR registers for FPR insns, Víctor Colombo, 2022/09/06
- [PATCH v2 8/8] target/ppc: Clear fpstatus flags on helpers missing it, Víctor Colombo, 2022/09/06
- Re: [PATCH v2 0/8] Multiple ppc instructions fixes, Daniel Henrique Barboza, 2022/09/06