r300/compiler: Use presubtract operations as much as possible
authorTom Stellard <tstellar@gmail.com>
Tue, 9 Nov 2010 02:49:44 +0000 (18:49 -0800)
committerTom Stellard <tstellar@gmail.com>
Mon, 22 Nov 2010 02:48:31 +0000 (18:48 -0800)
commitbbe49bc585c4fed46f55d184b463d13bddd97f1b
tree55597798857bcf9d1ed8f8d0c53fbb160d5fabd8
parentddceededf850c942c1bb8185ec7dc0c203d3bad6
r300/compiler: Use presubtract operations as much as possible

Previously, presubtract operations where only being used by instructions
with less than three source source registers.
src/mesa/drivers/dri/r300/compiler/radeon_compiler_util.c
src/mesa/drivers/dri/r300/compiler/radeon_compiler_util.h
src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c
src/mesa/drivers/dri/r300/compiler/radeon_optimize.c
src/mesa/drivers/dri/r300/compiler/radeon_pair_schedule.c
src/mesa/drivers/dri/r300/compiler/radeon_program_constants.h
src/mesa/drivers/dri/r300/compiler/radeon_program_pair.c
src/mesa/drivers/dri/r300/compiler/radeon_program_pair.h