Rename RVInstR4 as used by F/D/Zfh extensions to RVInstR4Frm.
Introduce new RVInstR4 that takes funct3 as a parameter.
Add new format classes for FSRI and FSRIW instead of trying to
bend RVInstR4 to use a shamt overlayed on rs2 and funct2.
Paths
| Differential D100427
[RISCV] Cleanup instruction formats used for B extension ternary operations. ClosedPublic Authored by craig.topper on Apr 13 2021, 4:54 PM.
Details Summary Rename RVInstR4 as used by F/D/Zfh extensions to RVInstR4Frm. Add new format classes for FSRI and FSRIW instead of trying to
Diff Detail
Event TimelineHerald added subscribers: StephenFan, vkmr, apazos and 22 others. · View Herald TranscriptApr 13 2021, 4:54 PM Comment Actions LGTM. I think this is an improvement over the weird interaction of shamt and funct2 we had in RVBTernaryImm6 before. This revision is now accepted and ready to land.May 6 2021, 8:15 AM This revision was landed with ongoing or failed builds.May 6 2021, 9:07 AM Closed by commit rG58323be415ce: [RISCV] Cleanup instruction formats used for B extension ternary operations. (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 337288 llvm/lib/Target/RISCV/RISCVInstrFormats.td
llvm/lib/Target/RISCV/RISCVInstrInfoB.td
llvm/lib/Target/RISCV/RISCVInstrInfoD.td
llvm/lib/Target/RISCV/RISCVInstrInfoF.td
llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td
|