Message ID | 20220304175156.2012315-7-matheus.ferst@eldorado.org.br (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | target/ppc: Vector/VSX instruction batch fixes | expand |
On 3/4/22 07:51, matheus.ferst@eldorado.org.br wrote: > 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(+) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
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 { \