[PATCH] D48379: [mips] Mark standard encoded instructions as not being in MIPS16e
Simon Dardis via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 20 10:16:26 PDT 2018
sdardis created this revision.
sdardis added reviewers: smaksimovic, atanasyan, abeserminji.
Herald added a subscriber: arichardson.
Mark standard encoded instructions and pseudo "standard encoded" as
not being in MIPS16e by default.
Repository:
rL LLVM
https://reviews.llvm.org/D48379
Files:
lib/Target/Mips/MipsInstrFormats.td
lib/Target/Mips/MipsMSAInstrInfo.td
Index: lib/Target/Mips/MipsMSAInstrInfo.td
===================================================================
--- lib/Target/Mips/MipsMSAInstrInfo.td
+++ lib/Target/Mips/MipsMSAInstrInfo.td
@@ -3752,7 +3752,7 @@
// Pseudoes used to implement transparent fp16 support.
-let Predicates = [HasMSA] in {
+let ASEPredicate = [HasMSA] in {
def ST_F16 : MipsPseudo<(outs), (ins MSA128F16:$ws, mem_simm10:$addr),
[(store (f16 MSA128F16:$ws), (addrimm10:$addr))]> {
let usesCustomInserter = 1;
Index: lib/Target/Mips/MipsInstrFormats.td
===================================================================
--- lib/Target/Mips/MipsInstrFormats.td
+++ lib/Target/Mips/MipsInstrFormats.td
@@ -120,7 +120,7 @@
class InstSE<dag outs, dag ins, string asmstr, list<dag> pattern,
InstrItinClass itin, Format f, string opstr = ""> :
MipsInst<outs, ins, asmstr, pattern, itin, f> {
- let EncodingPredicates = [HasStdEnc];
+ let EncodingPredicates = [NotInMips16Mode];
string BaseOpcode = opstr;
string Arch;
}
@@ -137,7 +137,7 @@
class PseudoSE<dag outs, dag ins, list<dag> pattern,
InstrItinClass itin = IIPseudo> :
MipsPseudo<outs, ins, pattern, itin> {
- let EncodingPredicates = [HasStdEnc];
+ let EncodingPredicates = [NotInMips16Mode];
}
// Pseudo-instructions for alternate assembly syntax (never used by codegen).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48379.152112.patch
Type: text/x-patch
Size: 1394 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180620/372a1866/attachment.bin>
More information about the llvm-commits
mailing list