[PATCH] D16452: [mips][microMIPS] Implement DBITSWAP, DLSA and LWUPC and add tests for AUI instructions

Hrvoje Varga via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 15 01:37:55 PDT 2016


hvarga updated the summary for this revision.
hvarga added a subscriber: mamidzic.
hvarga updated this revision to Diff 64109.
hvarga added a comment.

isScaledSimm code replaced with the code you suggested.
Changed FM classes so that they inherit from MipsR6Inst and MMR6Arch.
Changed DESC classes so that they don't inherit from MipsR6Inst and MMR6Arch.
Changed name of MipsJumpTargetAsmOperandClass to MipsSimmAsmOperandClass.
Added DBITSWAP, LWUPC and DLCA to instruction mapping tables.
Added valid and invalid tests for LWUPC with symbols.

Note: Didn't set the MayLoad flag to 1 in LWUPC DESC class, because with it, LWUPC tests with symbols cause an assertion fail: "Assertion `isReg() && "This is not a register operand!"' failed.". I didn't find a way around that.


https://reviews.llvm.org/D16452

Files:
  lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  lib/Target/Mips/MicroMips64r6InstrFormats.td
  lib/Target/Mips/MicroMips64r6InstrInfo.td
  lib/Target/Mips/Mips32r6InstrInfo.td
  lib/Target/Mips/Mips64r6InstrInfo.td
  lib/Target/Mips/MipsInstrInfo.td
  test/MC/Disassembler/Mips/micromips64r6/valid.txt
  test/MC/Mips/micromips64r6/invalid.s
  test/MC/Mips/micromips64r6/valid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16452.64109.patch
Type: text/x-patch
Size: 12076 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160715/0e9f0003/attachment.bin>


More information about the llvm-commits mailing list