[PATCH] D144936: [SPARC][IAS] Recognize more SPARCv9 instructions/pseudoinstructions

Koakuma via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 31 23:03:19 PDT 2023


koakuma updated this revision to Diff 510183.
koakuma added a comment.

Implement review suggestions:

- Use `isUInt<32>(ImmValue)` instead of manually checking ranges
- Use MCInstBuilder to expand `setx` pseudoinstruction
- Create a table to hold ASI symbolic names


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144936/new/

https://reviews.llvm.org/D144936

Files:
  llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
  llvm/lib/Target/Sparc/CMakeLists.txt
  llvm/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp
  llvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp
  llvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.h
  llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
  llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.h
  llvm/lib/Target/Sparc/Sparc.td
  llvm/lib/Target/Sparc/SparcASITags.td
  llvm/lib/Target/Sparc/SparcInstr64Bit.td
  llvm/lib/Target/Sparc/SparcInstrAliases.td
  llvm/lib/Target/Sparc/SparcInstrFormats.td
  llvm/lib/Target/Sparc/SparcInstrInfo.td
  llvm/lib/Target/Sparc/SparcRegisterInfo.td
  llvm/test/MC/Disassembler/Sparc/sparc-mem.txt
  llvm/test/MC/Sparc/sparc-atomic-instructions.s
  llvm/test/MC/Sparc/sparc-mem-instructions.s
  llvm/test/MC/Sparc/sparc-special-registers.s
  llvm/test/MC/Sparc/sparcv9-atomic-instructions.s
  llvm/test/MC/Sparc/sparcv9-instructions.s
  llvm/test/MC/Sparc/sparcv9-synthetic-instructions.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144936.510183.patch
Type: text/x-patch
Size: 61714 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230401/04fe8327/attachment-0001.bin>


More information about the llvm-commits mailing list