mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
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. llvm-svn: 199343
This commit is contained in:
parent
3da161096a
commit
c3cb7dce9b
@ -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;
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -790,11 +790,11 @@ initializeFunctionInfo(const std::vector<MachineInstr*> &CPEMIs) {
|
||||
Bits = 8;
|
||||
Scale = 4;
|
||||
LongFormOpcode = Mips::LwRxPcTcpX16;
|
||||
LongFormBits = 16;
|
||||
LongFormBits = 14;
|
||||
LongFormScale = 1;
|
||||
break;
|
||||
case Mips::LwRxPcTcpX16:
|
||||
Bits = 16;
|
||||
Bits = 14;
|
||||
Scale = 1;
|
||||
NegOk = true;
|
||||
break;
|
||||
|
@ -19,7 +19,7 @@ entry:
|
||||
; load-relax: $CPI0_0:
|
||||
; load-relax: .4byte 3735943886
|
||||
; load-relax: .end t
|
||||
call void asm sideeffect ".space 40000", ""() #1, !srcloc !1
|
||||
call void asm sideeffect ".space 10000", ""() #1, !srcloc !1
|
||||
ret void
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user