OSDN Git Service

tcg/ppc: implement rem[u]_i{32,64} with mod[su][wd]
authorMatheus Kowalczuk Ferst <matheus.ferst@eldorado.org.br>
Mon, 13 Jun 2022 14:43:59 +0000 (14:43 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 20 Jun 2022 19:56:28 +0000 (12:56 -0700)
commit4d5738222ff0a7f4d56fd4a2971b0605726a8fb2
treee889671038555eceebcec17ebfd37d49f4b7d0a8
parentc8b2d413761af732a0798d8df45ce968732083fe
tcg/ppc: implement rem[u]_i{32,64} with mod[su][wd]

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 <matheus.ferst@eldorado.org.br>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/ppc/tcg-target.c.inc
tcg/ppc/tcg-target.h