[PATCH] D15869: AMDGPU: add +xnack feature

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 4 13:38:17 PST 2016


nhaehnle created this revision.
nhaehnle added reviewers: arsenm, tstellarAMD.
nhaehnle added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.

Enabling this feature will account for the two SGPRs used by the hardware
to store the XNACK_MASK physically.

The hardware only requires this reservation when the XNACK feature is
explicitly enabled. At some point, HSA will probably want to do that, but
it does increase SGPR register pressure, so leave it disabled by default
for now (but do add a small test).

http://reviews.llvm.org/D15869

Files:
  lib/Target/AMDGPU/AMDGPU.td
  lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  lib/Target/AMDGPU/AMDGPUSubtarget.h
  lib/Target/AMDGPU/SIRegisterInfo.cpp
  test/CodeGen/AMDGPU/flat-scratch-reg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15869.43918.patch
Type: text/x-patch
Size: 6976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160104/67806972/attachment-0001.bin>


More information about the llvm-commits mailing list