target/ppc: Move logical fixed-point instructions to decodetree.
authorChinmay Rath <rathc@linux.ibm.com>
Tue, 23 Apr 2024 06:32:34 +0000 (12:02 +0530)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 23 May 2024 22:57:50 +0000 (08:57 +1000)
commit948e257c48cf8e387e12b81f4b96195d52b68455
tree1e417223912cc656de2b6218bac386e7766ea4a7
parentae556c6a49d47208e4cbc70efab3dfd5bb2ac309
target/ppc: Move logical fixed-point instructions to decodetree.

Moving the below instructions to decodetree specification :

andi[s]., {ori, xori}[s] : D-form

{and, andc, nand, or, orc, nor, xor, eqv}[.],
exts{b, h, w}[.],  cnt{l, t}z{w, d}[.],
popcnt{b, w, d},  prty{w, d}, cmp, bpermd : X-form

With this patch, all the fixed-point logical instructions have been
moved to decodetree.
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