Add 2 more instructions to help with 2-coeff butterfly maddsubrs
authorKonstantinos Margaritis <konstantinos.margaritis@vectorcamp.gr>
Thu, 4 May 2023 14:11:31 +0000 (14:11 +0000)
committerKonstantinos Margaritis <konstantinos.margaritis@vectorcamp.gr>
Thu, 4 May 2023 14:11:31 +0000 (14:11 +0000)
commitdadc605582fe38a4e5ec6bd06f425c4f6683ad95
tree0e94ae55ed00d5b1076433354770bb698cefdbfd
parent04fbd799ba014b472624519206814b55cf42f446
Add 2 more instructions to help with 2-coeff butterfly
fdct_round_shift(a*c1 +/- b*c2)
They are to be used complementary to maddsubrs, so one can now
do this calculation in 3 instructions.
Added some unit tests to demonstrate the operation.
openpower/isa/butterfly.mdwn
openpower/isatables/RM-1P-2S1D.csv
openpower/isatables/minor_22.csv
src/openpower/decoder/isa/caller.py
src/openpower/decoder/power_decoder2.py
src/openpower/decoder/power_enums.py
src/openpower/test/alu/maddsubrs_cases.py