[PATCH] D42738: [mips] Define certain instructions in microMIPS32r3

Stefan Maksimovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 31 07:49:32 PST 2018


smaksimovic created this revision.
smaksimovic added reviewers: zoran.jovanovic, sdardis.
Herald added a subscriber: arichardson.

Instructions affected:
mthc1, mfhc1, add.d, sub.d, mul.d, div.d,
mov.d, neg.d, cvt.w.d, cvt.d.s, cvt.d.w, cvt.s.d

These instructions are now defined for
microMIPS32r3 + microMIPS32r6 in MicroMipsInstrFPU.td
since they shared their encoding with those already defined
in microMIPS32r6InstrInfo.td and have been therefore
removed from the latter file.

Some instructions present in MicroMipsInstrFPU.td which
did not have both AFGR64 and FGR64 variants defined have
been altered to do so.


https://reviews.llvm.org/D42738

Files:
  lib/Target/Mips/MicroMips32r6InstrInfo.td
  lib/Target/Mips/MicroMipsInstrFPU.td
  lib/Target/Mips/MicroMipsInstrFormats.td
  lib/Target/Mips/MipsInstrFPU.td
  lib/Target/Mips/MipsSEInstrInfo.cpp
  test/CodeGen/Mips/llvm-ir/arith.ll
  test/CodeGen/Mips/llvm-ir/cp1move.ll
  test/CodeGen/Mips/llvm-ir/cvt.ll
  test/MC/Disassembler/Mips/micromips32r3/valid-el.txt
  test/MC/Disassembler/Mips/micromips32r3/valid-fp64-el.txt
  test/MC/Disassembler/Mips/micromips32r3/valid-fp64.txt
  test/MC/Disassembler/Mips/micromips32r3/valid.txt
  test/MC/Disassembler/Mips/mips32/valid-fp64-el.txt
  test/MC/Disassembler/Mips/mips32/valid-fp64.txt
  test/MC/Disassembler/Mips/mips32r2/valid-fp64-el.txt
  test/MC/Disassembler/Mips/mips32r2/valid-fp64.txt
  test/MC/Disassembler/Mips/mips32r3/valid-fp64-el.txt
  test/MC/Disassembler/Mips/mips32r3/valid-fp64.txt
  test/MC/Disassembler/Mips/mips32r5/valid-fp64-el.txt
  test/MC/Disassembler/Mips/mips32r5/valid-fp64.txt
  test/MC/Mips/micromips/valid-fp64.s
  test/MC/Mips/micromips/valid.s
  test/MC/Mips/micromips32r6/valid.s
  test/MC/Mips/mips1/valid.s
  test/MC/Mips/mips2/valid.s
  test/MC/Mips/mips32/valid.s
  test/MC/Mips/mips32r2/valid-fp64.s
  test/MC/Mips/mips32r2/valid.s
  test/MC/Mips/mips32r3/valid-fp64.s
  test/MC/Mips/mips32r3/valid.s
  test/MC/Mips/mips32r5/valid-fp64.s
  test/MC/Mips/mips32r5/valid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42738.132173.patch
Type: text/x-patch
Size: 104973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180131/c1116d43/attachment.bin>


More information about the llvm-commits mailing list