llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc
Ryan Taylor 9ab812d475 [AMDGPU] Fix for branch offset hardware workaround
Summary:
This fixes a hardware bug that makes a branch offset of 0x3f unsafe.
This replaces the 32 bit branch with offset 0x3f to a 64 bit
instruction that includes the same 32 bit branch and the encoding
for a s_nop 0 to follow. The relaxer than modifies the offsets
accordingly.

Change-Id: I10b7aed99d651f8159401b01bb421f105fa6288e

Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D63494

llvm-svn: 364451
2019-06-26 17:34:57 +00:00
..
AMDGPUAsmBackend.cpp [AMDGPU] Fix for branch offset hardware workaround 2019-06-26 17:34:57 +00:00
AMDGPUELFObjectWriter.cpp AMDGPU: Set ABI version to 1 for code object v3 2019-02-14 23:56:04 +00:00
AMDGPUELFStreamer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUELFStreamer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUFixupKinds.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUInstPrinter.cpp AMDGPU: Fix printing trailing whitespace after s_endpgm 2019-06-14 13:26:29 +00:00
AMDGPUInstPrinter.h [AMDGPU] gfx1010 dpp16 and dpp8 2019-06-12 18:02:41 +00:00
AMDGPUMCAsmInfo.cpp MC: Allow getMaxInstLength to depend on the subtarget 2019-05-22 16:28:41 +00:00
AMDGPUMCAsmInfo.h MC: Allow getMaxInstLength to depend on the subtarget 2019-05-22 16:28:41 +00:00
AMDGPUMCCodeEmitter.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUMCCodeEmitter.h Use bitset for assembler predicates 2019-03-11 17:04:35 +00:00
AMDGPUMCTargetDesc.cpp Revert CMake: Make most target symbols hidden by default 2019-06-11 03:21:13 +00:00
AMDGPUMCTargetDesc.h [AMDGPU] Create a TargetInfo header. NFC 2019-05-14 21:54:37 +00:00
AMDGPUTargetStreamer.cpp AMDGPU/MC: Add .amdgpu_lds directive 2019-06-25 11:51:35 +00:00
AMDGPUTargetStreamer.h AMDGPU/MC: Add .amdgpu_lds directive 2019-06-25 11:51:35 +00:00
CMakeLists.txt [AMDGPU] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 00:03:35 +00:00
LLVMBuild.txt [AMDGPU] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 00:03:35 +00:00
R600MCCodeEmitter.cpp Use bitset for assembler predicates 2019-03-11 17:04:35 +00:00
R600MCTargetDesc.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SIMCCodeEmitter.cpp AMDGPU: Prepare for explicit absolute relocations in code generation 2019-06-16 17:43:37 +00:00