diff options
author | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-01-15 13:17:33 +0000 |
---|---|---|
committer | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-01-15 13:17:33 +0000 |
commit | 814c8910f20ec0f1c1d0a06676e9f2ce643a0480 (patch) | |
tree | 8278e06f5555ea3f31d3382136b6e32d71e75cda /lib/Target/Mips/MicroMipsInstrInfo.td | |
parent | f5c2d3896b8af35409b7c1b11c3811c459b0ccd1 (diff) | |
download | llvm-814c8910f20ec0f1c1d0a06676e9f2ce643a0480.tar.gz llvm-814c8910f20ec0f1c1d0a06676e9f2ce643a0480.tar.bz2 llvm-814c8910f20ec0f1c1d0a06676e9f2ce643a0480.tar.xz |
LL and SC decoder method fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199316 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MicroMipsInstrInfo.td')
-rw-r--r-- | lib/Target/Mips/MicroMipsInstrInfo.td | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Target/Mips/MicroMipsInstrInfo.td b/lib/Target/Mips/MicroMipsInstrInfo.td index ffcf48bf98..aec4a314f0 100644 --- a/lib/Target/Mips/MicroMipsInstrInfo.td +++ b/lib/Target/Mips/MicroMipsInstrInfo.td @@ -48,16 +48,15 @@ class StoreLeftRightMM<string opstr, SDNode OpNode, RegisterOperand RO, class LLBaseMM<string opstr, RegisterOperand RO> : InstSE<(outs RO:$rt), (ins mem_mm_12:$addr), !strconcat(opstr, "\t$rt, $addr"), [], NoItinerary, FrmI> { - let DecoderMethod = "DecodeMem"; + let DecoderMethod = "DecodeMemMMImm12"; let mayLoad = 1; } class SCBaseMM<string opstr, RegisterOperand RO> : - InstSE<(outs RO:$dst), (ins RO:$rt, mem_mm_12:$addr), + InstSE<(outs), (ins RO:$rt, mem_mm_12:$addr), !strconcat(opstr, "\t$rt, $addr"), [], NoItinerary, FrmI> { - let DecoderMethod = "DecodeMem"; + let DecoderMethod = "DecodeMemMMImm12"; let mayStore = 1; - let Constraints = "$rt = $dst"; } class LoadMM<string opstr, DAGOperand RO, SDPatternOperator OpNode = null_frag, |