diff options
author | Matt Turner <[email protected]> | 2015-11-25 21:54:30 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-12-18 13:20:13 -0500 |
commit | bb9eb599335ec4ac3a2a579359fb239f16de17e8 (patch) | |
tree | 405dae157c5f1ff1c24a05baab46017db8dfe949 /install-gallium-links.mk | |
parent | c8a74e3a4ea6ac5dfa35adac06af14a8fa4ff773 (diff) |
i965/vec4: Optimize predicate handling for any/all.
For a select whose condition is any(v), instead of emitting
cmp.nz.f0(8) null<1>D g1<0,4,1>D 0D
mov(8) g7<1>.xUD 0x00000000UD
(+f0.any4h) mov(8) g7<1>.xUD 0xffffffffUD
cmp.nz.f0(8) null<1>D g7<4,4,1>.xD 0D
(+f0) sel(8) g8<1>UD g4<4,4,1>UD g3<4,4,1>UD
we now emit
cmp.nz.f0(8) null<1>D g1<0,4,1>D 0D
(+f0.any4h) sel(8) g9<1>UD g4<4,4,1>UD g3<4,4,1>UD
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'install-gallium-links.mk')
0 files changed, 0 insertions, 0 deletions