mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
The high bit of a Thumb2 ADR's offset is stored in bit 26, not bit 25.
This fixes 464.h264ref with the integrated assembler. llvm-svn: 128172
This commit is contained in:
parent
f7d5f8a831
commit
f473d3cff9
@ -246,7 +246,7 @@ static unsigned adjustFixupValue(unsigned Kind, uint64_t Value) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint32_t out = (opc << 21);
|
uint32_t out = (opc << 21);
|
||||||
out |= (Value & 0x800) << 14;
|
out |= (Value & 0x800) << 15;
|
||||||
out |= (Value & 0x700) << 4;
|
out |= (Value & 0x700) << 4;
|
||||||
out |= (Value & 0x0FF);
|
out |= (Value & 0x0FF);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user