summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/Mips16InstrInfo.td
diff options
context:
space:
mode:
authorReed Kotler <rkotler@mips.com>2014-01-16 00:47:46 +0000
committerReed Kotler <rkotler@mips.com>2014-01-16 00:47:46 +0000
commit897473a28dc52e941923ea22939f69dacb85a547 (patch)
treeb979b0e7e79f3ee8fef52295bc1717e712a77b71 /lib/Target/Mips/Mips16InstrInfo.td
parentd12cef82816190a5176d79108da1765da700d418 (diff)
downloadllvm-897473a28dc52e941923ea22939f69dacb85a547.tar.gz
llvm-897473a28dc52e941923ea22939f69dacb85a547.tar.bz2
llvm-897473a28dc52e941923ea22939f69dacb85a547.tar.xz
Adjust offsets for max load instruction offsets. This is more pessimistic
than it needs to be by 1 bit but I need to finish some other things so that all the boundary cases will work in that situation. constpool.c in test-suite will fail to assemble under our new internal test-suite sync without this change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199343 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/Mips16InstrInfo.td')
-rw-r--r--lib/Target/Mips/Mips16InstrInfo.td2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Mips/Mips16InstrInfo.td b/lib/Target/Mips/Mips16InstrInfo.td
index 840dfde650..8d8b2ed20b 100644
--- a/lib/Target/Mips/Mips16InstrInfo.td
+++ b/lib/Target/Mips/Mips16InstrInfo.td
@@ -119,6 +119,7 @@ class FJAL16_ins<bits<1> _X, string asmstr,
!strconcat(asmstr, "\t$imm\n\tnop"),[],
itin> {
let isCodeGenOnly=1;
+ let Size=6;
}
class FJALB16_ins<bits<1> _X, string asmstr,
@@ -127,6 +128,7 @@ class FJALB16_ins<bits<1> _X, string asmstr,
!strconcat(asmstr, "\t$imm\t# branch\n\tnop"),[],
itin> {
let isCodeGenOnly=1;
+ let Size=6;
}
//