[PATCH] D13472: [mips][msa] Remove copy_u.d and move copy_u.w to MSA64.
Daniel Sanders via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 6 07:06:31 PDT 2015
dsanders created this revision.
dsanders added a reviewer: vkalintiris.
dsanders added a subscriber: llvm-commits.
The forwards compatibility strategy employed by MIPS is to consider registers
to be infinitely sign-extended. Then on ISA's with a wider register, the result
of existing instructions are sign-extended to register width and zero-extended
counterparts are added. copy_u.w on MSA32 and copy_u.w on MSA64 violate this
strategy and we have therefore corrected the MSA specs to fix this.
We still keep track of sign/zero-extension during legalization but we now
match copy_s.[wd] where required.
http://reviews.llvm.org/D13472
Files:
lib/Target/Mips/MipsDSPInstrInfo.td
lib/Target/Mips/MipsInstrInfo.td
lib/Target/Mips/MipsMSAInstrInfo.td
test/CodeGen/Mips/msa/elm_copy.ll
test/MC/Disassembler/Mips/msa/test_elm.txt
test/MC/Disassembler/Mips/msa/test_elm_msa64.txt
test/MC/Mips/msa/test_elm.s
test/MC/Mips/msa/test_elm_msa64.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13472.36621.patch
Type: text/x-patch
Size: 11545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151006/d955447a/attachment.bin>
More information about the llvm-commits
mailing list