[PATCH] D16454: [mips][microMIPS] Add CodeGen support for ADD, ADDIU*, ADDU* and DADD* instructions
Zlatko Buljan via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 22 01:33:21 PST 2016
zbuljan created this revision.
zbuljan added reviewers: dsanders, hvarga, zoran.jovanovic.
zbuljan added subscribers: petarj, llvm-commits.
Herald added a reviewer: vkalintiris.
Herald added a subscriber: dsanders.
The patch adds CodeGen support for microMIPS32r6 ADD, ADDIU*, ADDU* and microMIPS64r6 DADD* instructions:
- updated add.ll with tests for microMIPSr6 ADD, ADDIU*, ADDU* and DADD* instruction selection
- separated microMIPS64r6 DADD* instructions from equivalent MIPS64 instructions using NotInMicroMips predicate
- added DAG pattern to ADDIU description class for proper selection of the instruction
- implemented DADD, DADDIU and DADDU instructions for microMIPS64r6 and added tests for the standard encodings
http://reviews.llvm.org/D16454
Files:
lib/Target/Mips/MicroMips32r6InstrInfo.td
lib/Target/Mips/MicroMips64r6InstrFormats.td
lib/Target/Mips/MicroMips64r6InstrInfo.td
lib/Target/Mips/Mips64InstrInfo.td
lib/Target/Mips/MipsInstrInfo.td
test/CodeGen/Mips/llvm-ir/add.ll
test/MC/Disassembler/Mips/micromips64r6/valid.txt
test/MC/Mips/micromips64r6/valid.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16454.45661.patch
Type: text/x-patch
Size: 32085 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160122/f45fa87e/attachment.bin>
More information about the llvm-commits
mailing list