llvm-project/llvm/test/MC
Jonas Paulsson 580310ff0c [SystemZ] Improve handling of huge PC relative immediate offsets.
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
2019-11-04 10:38:18 +01:00
..
AArch64 [AArch64] Adding support for PMMIR_EL1 register 2019-10-18 12:40:29 +00:00
AMDGPU [AMDGPU][MC][GFX10] Added v_interp_[p1/p2/mov]_f32_e64 2019-10-28 15:03:43 +03:00
ARM Always flush pending errors in MCAsmParser 2019-10-25 00:48:12 +02:00
AVR [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
AsmParser Revert "[ARM] Uses "Sun Style" syntax for section switching" 2019-10-25 14:03:07 -07:00
BPF [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
COFF [llvm-objdump] Further rearrange llvm-objdump sections for compatability 2019-10-03 22:01:08 +00:00
Disassembler [mips] Add disassembler tests for `octeon` CPU. NFC 2019-11-04 00:42:31 +03:00
ELF Added support for "#pragma clang section relro=<name>" 2019-10-15 18:31:10 +00:00
Hexagon [llvm-mc] Add reportWarning() to MCContext 2019-08-08 19:13:23 +00:00
Lanai [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
MSP430 [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
MachO [MachO][TLOF] Use hasLocalLinkage to determine if indirect symbol is local 2019-08-22 16:59:00 +00:00
Mips [mips] Move test case for Octeon instructions to cnmips sub-folder. NFC 2019-11-04 00:42:31 +03:00
PowerPC [PowerPC] Support extended mnemonics mffprwz etc. 2019-08-29 21:53:59 +00:00
RISCV [RISCV] Add obsolete aliases of fscsr, frcsr (fssr, frsr) 2019-10-03 15:47:28 +00:00
Sparc [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
SystemZ [SystemZ] Improve handling of huge PC relative immediate offsets. 2019-11-04 10:38:18 +01:00
WebAssembly [WebAssembly] Add experimental SIMD dot product instruction 2019-11-01 10:45:48 -07:00
X86 [X86] Teach X86MCodeEmitter to properly encode zmm16-zmm31 as index register to vgatherpf/vscatterpf. 2019-10-14 23:48:24 +00:00