CVInstMac reuses RVInstR that has the same encoding fields.
Add a new class CVInst16I that has specific encoding fields, and two
new class CVInstMac16I and CVInstMul16I that inherite CVInst16I with
different outs and ins.
Paths
| Differential D156335
[RISCV] Simplify tablegen for XCV mac and mul instructions. NFC. ClosedPublic Authored by Jim on Jul 26 2023, 7:38 AM.
Details Summary CVInstMac reuses RVInstR that has the same encoding fields. Add a new class CVInst16I that has specific encoding fields, and two
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Jul 26 2023, 9:36 PM This revision was landed with ongoing or failed builds.Jul 26 2023, 10:05 PM Closed by commit rGfa140fe21183: [RISCV] Simplify tablegen for XCV mac and mul instructions. NFC. (authored by Jim). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 544601 llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td
|
Can we use N or something else instead of 16? As it is now, it looks very similar to RVInst16CI where the 16 refers to the instruction encoding size in bits.