target/ppc: Move neg, darn, mod{sw, uw} to decodetree.
authorChinmay Rath <rathc@linux.ibm.com>
Tue, 23 Apr 2024 06:32:30 +0000 (12:02 +0530)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 23 May 2024 22:57:50 +0000 (08:57 +1000)
commita81b5c186730fe5a92b645c84e538444a64b93f5
treebbea3b5f62650398e3dd49090a5f5e908bc65410
parent2871921d857d3137e160dcb57ae0b48ddc98822f
target/ppc: Move neg, darn, mod{sw, uw} to decodetree.

Moving the below instructions to decodetree specification :

neg[o][.]        : XO-form
mod{sw, uw}, darn : X-form

The changes were verified by validating that the tcg ops generated by those
instructions remain the same, which were captured with the '-d in_asm,op' flag.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Chinmay Rath <rathc@linux.ibm.com>
[np: 32-bit compile fix]
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/helper.h
target/ppc/insn32.decode
target/ppc/int_helper.c
target/ppc/translate.c
target/ppc/translate/fixedpoint-impl.c.inc