[PATCH] D34887: [mips] Implement the 'dext' aliases and it's disassembly alias.

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 30 07:49:19 PDT 2017


sdardis created this revision.
Herald added a subscriber: arichardson.

The other members of the dext family of instructions (dextm, dextu) are
traditionally handled by the assembler selecting the right variant of
'dext' depending on the values of the position and size operands.

When these instructions are disassembled, rather than reporting the
actual instruction, an equivalent aliased form of 'dext' is generated
and is reported. This is to mimic the behaviour of binutils.


Repository:
  rL LLVM

https://reviews.llvm.org/D34887

Files:
  lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  lib/Target/Mips/Disassembler/MipsDisassembler.cpp
  lib/Target/Mips/MicroMips64r6InstrInfo.td
  lib/Target/Mips/Mips64InstrInfo.td
  lib/Target/Mips/MipsInstrInfo.td
  test/MC/Disassembler/Mips/micromips64r6/valid.txt
  test/MC/Mips/micromips64r6/invalid.s
  test/MC/Mips/mips64extins-invalid.s
  test/MC/Mips/mips64extins.s
  test/MC/Mips/mips64r2/invalid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34887.104862.patch
Type: text/x-patch
Size: 18720 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170630/a62d2ad9/attachment.bin>


More information about the llvm-commits mailing list