r300/compiler: make lowering passes possibly use up to two less temps
authorMarek Olšák <maraeo@gmail.com>
Tue, 7 Dec 2010 20:57:18 +0000 (21:57 +0100)
committerMarek Olšák <maraeo@gmail.com>
Wed, 8 Dec 2010 03:39:51 +0000 (04:39 +0100)
commit2ff9d4474bdf5f05852ad4963d0b597d20743678
tree33181f7c4c758b298bef2e56e9987e5923f1da2d
parent93f2df07606132519e8eed349ff2f6910e9fbbd6
r300/compiler: make lowering passes possibly use up to two less temps

CMP may now use two less temps, other non-native instructions may end up
using one less temp, except for SIN/COS/SCS, which I am leaving unchanged
for now.

This may reduce register pressure inside loops, because the register
allocator doesn't do a very good job there.
src/mesa/drivers/dri/r300/compiler/radeon_program_alu.c