[PATCH] D14429: [mips][microMIPS][DSP] Implement PACKRL.PH, PICK.PH, PICK.QB, SHILO, SHILOV and WRDSP instructions

Zlatko Buljan via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 19 04:48:29 PST 2015


zbuljan updated this revision to Diff 40631.
zbuljan added a comment.

Rebased to work with top of the tree.
Old uimm10 operand definition replaced with new one which uses ConstantUImmAsmOperandClass.
Added uimm7_report_uimm and uimm10_report_uimm operands for implementation of WRDSP (MIPS version of WRDSP has 10-bit unsigned immediate while microMIPS version has 7-bit unsigned immediate).
Changed definition of simm6 operand to use new MipsSImmAsmOperandClass with DiagnosticType and SuperClasses members.
Implemented new match types in MipsAsmParser.cpp.
microMIPSDSPr1 assembler and disassembler tests added to microMIPSDSPr2 test files.
Updated expected error messages in invalid test files.


http://reviews.llvm.org/D14429

Files:
  lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  lib/Target/Mips/MicroMipsDSPInstrFormats.td
  lib/Target/Mips/MicroMipsDSPInstrInfo.td
  lib/Target/Mips/MipsDSPInstrFormats.td
  lib/Target/Mips/MipsDSPInstrInfo.td
  lib/Target/Mips/MipsInstrInfo.td
  test/MC/Disassembler/Mips/dsp/valid-el.txt
  test/MC/Disassembler/Mips/micromips-dsp/valid.txt
  test/MC/Disassembler/Mips/micromips-dspr2/valid.txt
  test/MC/Mips/dsp/invalid.s
  test/MC/Mips/dsp/valid.s
  test/MC/Mips/dspr2/valid.s
  test/MC/Mips/micromips-dsp/invalid.s
  test/MC/Mips/micromips-dsp/valid.s
  test/MC/Mips/micromips-dspr2/valid.s
  test/MC/Mips/micromips-invalid.s
  test/MC/Mips/micromips32r6/invalid.s
  test/MC/Mips/mips32r6/invalid.s
  test/MC/Mips/mips64r6/invalid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14429.40631.patch
Type: text/x-patch
Size: 36858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151119/f442ef00/attachment.bin>


More information about the llvm-commits mailing list