[PATCH] D15418: [mips][microMIPS] Implement LH, LHE, LHU and LHUE instructions and add CodeGen support

Zlatko Buljan via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 04:20:31 PDT 2016


zbuljan retitled this revision from "[mips][microMIPS] Implement LH, LHE, LHU and LHUE instructions" to "[mips][microMIPS] Implement LH, LHE, LHU and LHUE instructions and add CodeGen support".
zbuljan updated this revision to Diff 55564.
zbuljan added a comment.
Herald added a subscriber: sdardis.

Rebased to work with TOT.
Removed microMIPS32r6 implementation of LH and LHU instructions because it is not required.
Added required DAG patterns for microMIPS LH and LHU instructions so they can be selected properly.
Expanded .ll test with load atomic to check added DAG pattern.
Tests for the standard encodings are sorted in alphabetical order.
Added invalid tests for the negative ranges.


http://reviews.llvm.org/D15418

Files:
  lib/Target/Mips/MicroMipsInstrFormats.td
  lib/Target/Mips/MicroMipsInstrInfo.td
  lib/Target/Mips/MipsInstrInfo.td
  test/CodeGen/Mips/llvm-ir/lh_lhu.ll
  test/MC/Disassembler/Mips/micromips32r6/valid.txt
  test/MC/Disassembler/Mips/micromips64r6/valid.txt
  test/MC/Mips/micromips/invalid.s
  test/MC/Mips/micromips32r6/invalid.s
  test/MC/Mips/micromips32r6/valid.s
  test/MC/Mips/micromips64r6/invalid.s
  test/MC/Mips/micromips64r6/valid.s
  test/MC/Mips/mips32r6/invalid.s
  test/MC/Mips/mips64r6/invalid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15418.55564.patch
Type: text/x-patch
Size: 21569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160429/7089288d/attachment.bin>


More information about the llvm-commits mailing list