Add 2 more instructions to help with 2-coeff butterfly
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 15:31:10 +0000 (15:31 +0000)
commit31dcf687d8c99c06f6015ffdb6e69d6ac804975d
treea0869b5753ad08d20568178dea34ec7988098e6a
parent9f1e3c9945b8f62bb596fa9dfa13be4b9c20394f
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