[PATCH] D137727: [SPARC] Simplify instruction decoder.
James Y Knight via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 9 11:25:38 PST 2022
jyknight created this revision.
jyknight added a reviewer: MaskRay.
Herald added subscribers: StephenFan, jrtc27, fedor.sergeev, hiraditya.
Herald added a project: All.
jyknight requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
After https://reviews.llvm.org/D137653 named sub-operands can be used
in the auto-generated instruction decoders. This allows the
auto-generated decoders to work properly, so all the hand-coded
decoders in the sparc target can be removed.
In some instances, a manually-written decoder had not been implemented
for an instruction, and thus that instruction was not decoded
properly. These have been fixed (and tests added).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D137727
Files:
llvm/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp
llvm/lib/Target/Sparc/SparcInstr64Bit.td
llvm/lib/Target/Sparc/SparcInstrInfo.td
llvm/test/MC/Disassembler/Sparc/sparc-coproc.txt
llvm/test/MC/Disassembler/Sparc/sparc-mem.txt
llvm/test/MC/Disassembler/Sparc/sparc-special-registers.txt
llvm/test/MC/Disassembler/Sparc/sparc-v9.txt
llvm/test/MC/Disassembler/Sparc/sparc.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137727.474311.patch
Type: text/x-patch
Size: 37275 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221109/26e2eb84/attachment-0001.bin>
More information about the llvm-commits
mailing list