[PATCH] D23034: AMDGPU/SI: Increase SGPR limit to 96 on Tonga/Iceland

Marek Olšák via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 13:59:05 PDT 2016


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

This is the setting of the Vulkan closed source driver.

It decreases the max wave count from 10 to 8.

26010 shaders in 14650 tests
Totals:
VGPRS: 829593 -> 808440 (-2.55 %)
Spilled SGPRs: 81878 -> 42226 (-48.43 %)
Spilled VGPRs: 367 -> 358 (-2.45 %)
Scratch VGPRs: 1764 -> 1748 (-0.91 %) dwords per thread
Code Size: 36677864 -> 35923932 (-2.06 %) bytes

There is a massive decrease in SGPR spilling in general and -7.4% spilled
VGPRs for DiRT Showdown (= SGPRs spilled to scratch?)

https://reviews.llvm.org/D23034

Files:
  lib/Target/AMDGPU/AMDGPUSubtarget.h
  test/CodeGen/AMDGPU/elf.ll
  test/CodeGen/AMDGPU/load-constant-i32.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23034.66378.patch
Type: text/x-patch
Size: 3710 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160801/94b56988/attachment.bin>


More information about the llvm-commits mailing list