Re: [RFC PATCH] tcg/ppc: implement rem[u]_i{32,64} with mod[su][wd]

2022-06-13 Thread Richard Henderson
On 6/13/22 07:43, Matheus Kowalczuk Ferst wrote: Power ISA v3.0 introduced mod[su][wd] insns that can be used to implement rem[u]_i{32,64}. Signed-off-by: Matheus Ferst --- tcg/ppc/tcg-target.c.inc | 22 ++ tcg/ppc/tcg-target.h | 4 ++-- 2 files changed, 24 insertio

[RFC PATCH] tcg/ppc: implement rem[u]_i{32,64} with mod[su][wd]

2022-06-13 Thread Matheus Kowalczuk Ferst
Power ISA v3.0 introduced mod[su][wd] insns that can be used to implement rem[u]_i{32,64}. Signed-off-by: Matheus Ferst --- tcg/ppc/tcg-target.c.inc | 22 ++ tcg/ppc/tcg-target.h | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/tcg/ppc/tcg-target