This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Increase SGPR limit to 96 on Tonga/Iceland
ClosedPublic

Authored by mareko on Aug 1 2016, 1:59 PM.

Details

Summary

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?)

Diff Detail

Repository
rL LLVM

Event Timeline

mareko updated this revision to Diff 66378.Aug 1 2016, 1:59 PM
mareko retitled this revision from to AMDGPU/SI: Increase SGPR limit to 96 on Tonga/Iceland.
mareko updated this object.
mareko added a subscriber: llvm-commits.
nhaehnle accepted this revision.Aug 2 2016, 6:05 AM
nhaehnle edited edge metadata.

Looks like a good tradeoff.

This revision is now accepted and ready to land.Aug 2 2016, 6:05 AM
This revision was automatically updated to reflect the committed changes.