[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/7] target/ppc: Add missing helper_reset_fpstatus to VSX_MAX_MIN
From: |
matheus . ferst |
Subject: |
[PATCH 6/7] target/ppc: Add missing helper_reset_fpstatus to VSX_MAX_MINC |
Date: |
Fri, 4 Mar 2022 14:51:55 -0300 |
From: Víctor Colombo <victor.colombo@eldorado.org.br>
Fixes: da499405aa ("target/ppc: Refactor VSX_MAX_MINC helper")
Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
---
target/ppc/fpu_helper.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/ppc/fpu_helper.c b/target/ppc/fpu_helper.c
index c973968ed6..cf5f8f20dd 100644
--- a/target/ppc/fpu_helper.c
+++ b/target/ppc/fpu_helper.c
@@ -2517,6 +2517,8 @@ void helper_##name(CPUPPCState *env,
\
ppc_vsr_t t = { }; \
bool first; \
\
+ helper_reset_fpstatus(env); \
+ \
if (max) { \
first = tp##_le_quiet(xb->fld, xa->fld, &env->fp_status); \
} else { \
--
2.25.1
- Re: [PATCH 1/7] target/ppc: Fix vmul[eo]* instructions marked 2.07, (continued)
- [PATCH 2/7] target/ppc: use ext32u and deposit in do_vx_vmulhw_i64, matheus . ferst, 2022/03/04
- [PATCH 3/7] target/ppc: use extract/extract2 to create vrlqnm mask, matheus . ferst, 2022/03/04
- [PATCH 4/7] target/ppc: use andc in vrlqmi, matheus . ferst, 2022/03/04
- [PATCH 5/7] target/ppc: split XXGENPCV macros for readability, matheus . ferst, 2022/03/04
- [PATCH 6/7] target/ppc: Add missing helper_reset_fpstatus to VSX_MAX_MINC,
matheus . ferst <=
- [PATCH 7/7] target/ppc: Add missing helper_reset_fpstatus to helper_XVCVSPBF16, matheus . ferst, 2022/03/04
- Re: [PATCH 0/7] target/ppc: Vector/VSX instruction batch fixes, Cédric Le Goater, 2022/03/05