diff options
author | Eric Anholt <[email protected]> | 2018-07-20 14:27:09 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-07-23 10:21:43 -0700 |
commit | 6b73a97f84f86f4c3d3bbbbadf963c20b8e52b57 (patch) | |
tree | 6c8701d6c84c1478f7e829a08e5bb141777846e5 /src/compiler | |
parent | 79e0f042bcd6a1956015cf332c2232ade2c2321f (diff) |
v3d: Implement a small immediates optimization, based on VC4's.
We can do one per instruction, and we have to be careful not to overwrite
raddr_b, but this greatly reduces the pressure on uniform loads
(particularly around ldvpm/stvpm instructions).
total instructions in shared programs: 90768 -> 88220 (-2.81%)
instructions in affected programs: 82711 -> 80163 (-3.08%)
Diffstat (limited to 'src/compiler')
0 files changed, 0 insertions, 0 deletions