On Thu, Oct 16, 2014 at 3:40 PM, Jason Ekstrand <ja...@jlekstrand.net> wrote: > Before, we used the a signed d-word for booleans and the immedates we > emitted varried between signed and unsigned. This commit changes the type > to unsigned (I think that makes more sense) and makes immediates more > consistent. This allows copy propagation to work better cleans up some > instructions. > > total instructions in shared programs: 5473519 -> 5465864 (-0.14%) > instructions in affected programs: 432849 -> 425194 (-1.77%) > GAINED: 27 > LOST: 0
I assumed at first that this was on Haswell, but it couldn't be because Haswell doesn't use 0/1 for boolean. What platform was this? I checked shader-db on Haswell, and the result were less impressive (4 programs affected): total instructions in shared programs: 5510067 -> 5510063 (-0.00%) instructions in affected programs: 168 -> 164 (-2.38%) GAINED: 0 LOST: 0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev