[PATCH] D110723: [MSP430] Add assembler and MC support for MSP430X shift instructions
Jozef Lawrynowicz via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 29 08:22:57 PDT 2021
jozefl created this revision.
jozefl added a reviewer: asl.
Herald added a subscriber: hiraditya.
jozefl requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
There are two forms of MSP430X extended shift instructions:
- "RxxM": RRAM, RRUM, RLAM, RRCM e.g. rram #3, r12
- "RxxX": RRAX, RRUX, RLAX, RRCX e.g. rrax r12
RxxX shifts do not specify the shift count in the instruction. The shift
count is set separately by setting the repetition count in the extension
word that precedes the instruction. This support will be added in a
separate patch.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D110723
Files:
llvm/lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp
llvm/lib/Target/MSP430/Disassembler/MSP430Disassembler.cpp
llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCCodeEmitter.cpp
llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
llvm/lib/Target/MSP430/MSP430ISelLowering.h
llvm/lib/Target/MSP430/MSP430InstrFormats.td
llvm/lib/Target/MSP430/MSP430InstrInfo.h
llvm/lib/Target/MSP430/MSP430InstrInfo.td
llvm/lib/Target/MSP430/MSP430InstrInfoExtended.td
llvm/test/MC/MSP430/shifts-430x-invalid.s
llvm/test/MC/MSP430/shifts-430x.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110723.375902.patch
Type: text/x-patch
Size: 20313 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210929/402e5011/attachment.bin>
More information about the llvm-commits
mailing list