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
98775c4358
commit
8543d4f8a1
|
@ -246,7 +246,7 @@ static unsigned adjustFixupValue(unsigned Kind, uint64_t Value) {
|
|||
}
|
||||
|
||||
uint32_t out = (opc << 21);
|
||||
out |= (Value & 0x800) << 14;
|
||||
out |= (Value & 0x800) << 15;
|
||||
out |= (Value & 0x700) << 4;
|
||||
out |= (Value & 0x0FF);
|
||||
|
||||
|
|
Loading…
Reference in New Issue