[PATCH] D16917: [mips][micromips] Implement DCLO, DCLZ, DROTR, DROTR32 and DROTRV instructions

Hrvoje Varga via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 3 02:53:48 PDT 2016


hvarga updated the summary for this revision.
hvarga updated this revision to Diff 59517.
hvarga added a comment.
Herald added a subscriber: sdardis.

Changed FM classes so that they inherit from MipsR6Inst and MMR6Arch.
Changed DESC classes for DCLO, DCLZ, DSBH_DSHD so that they don't inherit from MipsR6Inst and MMR6Arch.
Added BaseOpcode to desc classes that were missing it.
Added two SHIFT_ROTATE classes to serve as DESC_BASE to all shift and rotate instructions in MM64R6.
Added CodeGen support and tests for DROTR, DROTRV, DCLZ, DCLO in MM64R6.

**This update has been contributed by mamidzic.**


http://reviews.llvm.org/D16917

Files:
  lib/Target/Mips/MicroMips64r6InstrFormats.td
  lib/Target/Mips/MicroMips64r6InstrInfo.td
  lib/Target/Mips/Mips64InstrInfo.td
  lib/Target/Mips/Mips64r6InstrInfo.td
  test/CodeGen/Mips/countleading.ll
  test/CodeGen/Mips/mips64shift.ll
  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: D16917.59517.patch
Type: text/x-patch
Size: 22184 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160603/a9a10e04/attachment.bin>


More information about the llvm-commits mailing list