target/ppc: Move floating-point arithmetic instructions to decodetree.
authorChinmay Rath <rathc@linux.ibm.com>
Fri, 15 Mar 2024 06:44:22 +0000 (12:14 +0530)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 23 May 2024 22:57:50 +0000 (08:57 +1000)
commit177fcc06dc579749ec4515174b62ba4cdb775474
tree076c4f6cbbd9069b43cbb6b629acf26cd2b9fbbc
parent5747926fec6c65b60f9f7aca6d4df525c79eae8e
target/ppc: Move floating-point arithmetic instructions to decodetree.

This patch moves the below instructions to decodetree specification :

    f{add, sub, mul, div, re, rsqrte, madd, msub, nmadd, nmsub}[s][.] : A-form
    ft{div, sqrt}                                                     : X-form

With this patch, all the floating-point arithmetic 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: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Chinmay Rath <rathc@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/fpu_helper.c
target/ppc/helper.h
target/ppc/insn32.decode
target/ppc/translate/fp-impl.c.inc
target/ppc/translate/fp-ops.c.inc