On 4/17/24 01:05, Richard Henderson wrote:
On 4/15/24 23:39, Chinmay Rath wrote:
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.

Signed-off-by: Chinmay Rath<ra...@linux.ibm.com>
---
  target/ppc/helper.h                        |   8 +-
  target/ppc/insn32.decode                   |  38 +++
  target/ppc/int_helper.c                    |  10 +-
  target/ppc/translate.c                     | 359 ---------------------
  target/ppc/translate/fixedpoint-impl.c.inc | 269 +++++++++++++++
  5 files changed, 316 insertions(+), 368 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Thanks,
Chinmay

r~



Reply via email to