OSDN Git Service

vc4: Don't bother masking out the low 24 bits for integer multiplies
authorEric Anholt <eric@anholt.net>
Mon, 30 Mar 2015 04:26:16 +0000 (21:26 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 30 Mar 2015 16:23:39 +0000 (09:23 -0700)
commitc519c4d85e7b4f9cad4e51dc08e8ae99bf3c810d
tree8a2e3dd9b37453f23a4cd49b4cc08891d65506d8
parent5df8bf86fe40ae95ad3888cb167ce80c710af227
vc4: Don't bother masking out the low 24 bits for integer multiplies

The hardware just uses the low 24 lines, saving us an AND to drop the high
bits.

total uniforms in shared programs: 13433 -> 13423 (-0.07%)
uniforms in affected programs:     356 -> 346 (-2.81%)
total instructions in shared programs: 40003 -> 39989 (-0.03%)
instructions in affected programs:     910 -> 896 (-1.54%)
src/gallium/drivers/vc4/vc4_program.c