History log of /external/mesa3d/src/gallium/drivers/r300/compiler/radeon_optimize.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c6a86fb5639977f37a1403012669cdee86bbd89f 20-Mar-2013 Tom Stellard <thomas.stellard@amd.com> r300g: Fix bug in OMOD optimization

https://bugs.freedesktop.org/show_bug.cgi?id=60503

NOTE: This is a candidate for the stable branches.
/external/mesa3d/src/gallium/drivers/r300/compiler/radeon_optimize.c
10bcc843f8898c2466b610d08edc27516e10cc51 10-Feb-2013 Tom Stellard <thomas.stellard@amd.com> r300g/compiler: Fix bug in OMOD folding

The OMOD value was only being folded to one instruction in cases where
the MUL instruction was reading a value written by more than one
instruction.

NOTE: This is a candidate for the stable branches.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/drivers/r300/compiler/radeon_optimize.c
1d3561d877c8294ffccfd6765268f32dc9ae62cf 03-Feb-2013 Marek Olšák <maraeo@gmail.com> r300/compiler: copy-propagate saturate mode when possible

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/gallium/drivers/r300/compiler/radeon_optimize.c
dab5f98404677bbbdbe3d5a82b607bfd4689b48e 01-Mar-2012 Brian Paul <brianp@vmware.com> r300g: init chan=0 to silence warning
/external/mesa3d/src/gallium/drivers/r300/compiler/radeon_optimize.c
d64c6d2ffc086bde7a025269b80c0980f7d908f1 02-Oct-2011 Tom Stellard <tstellar@gmail.com> r300/compiler: Fix error in OMOD optimization

Classic compiler mistake. In the example below, the OMOD optimization
was combining instructions 4 and 10, but since there was an instruction
(#8) in between them that wrote to the same registers as instruction 10,
instruction 11 was reading the wrong value.

Example of the mistake:

Before OMOD:
4: MAD temp[0].y, temp[3]._y__, const[0]._x__, const[0]._y__;
...
8: ADD temp[2].x, temp[1].x___, -temp[4].x___;
...
10: MUL temp[2].x, const[1].y___, temp[0].y___;
11: FRC temp[5].x, temp[2].x___;

After OMOD:
4: MAD temp[2].x / 8, temp[3]._y__, const[0]._x__, const[0]._y__;
...
8: ADD temp[2].x, temp[1].x___, -temp[4].x___;
...
11: FRC temp[5].x, temp[2].x___;

https://bugs.freedesktop.org/show_bug.cgi?id=41367
/external/mesa3d/src/gallium/drivers/r300/compiler/radeon_optimize.c
13814b0103812adbb5aba0dba4664249e8566290 02-Oct-2011 Tom Stellard <tstellar@gmail.com> r300/compiler: Rewrite source swizzles when using OMOD
/external/mesa3d/src/gallium/drivers/r300/compiler/radeon_optimize.c
e945fb04d04c33da5e77d22d739c5740a522a61e 15-Jun-2011 Tom Stellard <tstellar@gmail.com> r300/compiler: Add support for the output modifier (OMOD)
/external/mesa3d/src/gallium/drivers/r300/compiler/radeon_optimize.c
1c2c4ddbd1e97bfd13430521e5c09cb5ce8e36e6 26-Jul-2011 Marek Olšák <maraeo@gmail.com> r300g: copy the compiler from r300c

What a beast.

r300g doesn't depend on files from r300c anymore, so r300c is now left
to its own fate. BTW 'make test' can be invoked from the gallium/r300
directory to run some compiler unit tests.
/external/mesa3d/src/gallium/drivers/r300/compiler/radeon_optimize.c