This adds the v9 SETX pseudoinstruction for convenient loading of 64-bit values.
Depends on D144936
Paths
| Differential D157230
[SPARC][IAS] Add SETX pseudoinstruction ClosedPublic Authored by koakuma on Aug 6 2023, 7:09 AM.
Details Summary This adds the v9 SETX pseudoinstruction for convenient loading of 64-bit values. Depends on D144936
Diff Detail
Event Timelinekoakuma added a child revision: D157231: [SPARC][IAS] Add definitions for v9 State Registers.Aug 6 2023, 7:10 AM
koakuma marked 4 inline comments as done. Comment ActionsFix lowering of 32-bit constant expression & improve formatting.
Comment Actions Add HasV9 in the Requires list.
Comment Actions LGTM with one suggestion.
This revision is now accepted and ready to land.Aug 15 2023, 4:24 AM Closed by commit rGc8c5f317e461: [SPARC][IAS] Add SETX pseudoinstruction (authored by koakuma, committed by brad). · Explain WhyAug 22 2023, 9:49 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 552412 llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
llvm/lib/Target/Sparc/SparcInstrAliases.td
llvm/test/MC/Sparc/sparcv9-synthetic-instructions.s
|
Looks like dead code (MatchInstructionImpl should return Match_MissingFeature). Can you add a test for this as in D144936?