mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
7b87fa876f
Demand that an immediate offset to a PC relative address fits in 32 bits, or else load it into a register and perform a separate add. Verify in the assembler that such immediate offsets fit the bitwidth. Even though the final address of a Load Address Relative Long may fit in 32 bits even with a >32 bit offset (depending on where the symbol lives relative to PC), the GNU toolchain demands the offset by itself to be in range. This patch adapts the same behavior for llvm. Review: Ulrich Weigand https://reviews.llvm.org/D69749 |
||
---|---|---|
.. | ||
asm-match.s | ||
directive-insn.s | ||
fixups-zEC12.s | ||
fixups.s | ||
insn-bad-z13.s | ||
insn-bad-z14.s | ||
insn-bad-z15.s | ||
insn-bad-z196.s | ||
insn-bad-zEC12.s | ||
insn-bad.s | ||
insn-good-z13.s | ||
insn-good-z14.s | ||
insn-good-z15.s | ||
insn-good-z196.s | ||
insn-good-zEC12.s | ||
insn-good.s | ||
invalid-instructions-spellcheck.s | ||
lit.local.cfg | ||
regs-bad.s | ||
regs-good.s | ||
tokens.s | ||
word.s |