Re: [Mesa-dev] [PATCH 1/4] i965/fs: Improve live variables calculation performance.

2013-03-03 Thread Kenneth Graunke
On 02/19/2013 06:03 PM, Eric Anholt wrote: We can execute way fewer instructions by doing our boolean manipulation on an int of bits at a time, while also reducing our working set size. I see...it lets you do the computation on whole words at a time rather than looping over (up to) 32

[Mesa-dev] [PATCH 1/4] i965/fs: Improve live variables calculation performance.

2013-02-19 Thread Eric Anholt
We can execute way fewer instructions by doing our boolean manipulation on an int of bits at a time, while also reducing our working set size. Reduces compile time of L4D2's slowest shader from 4s to 1.1s (-72.4% +/- 0.2%, n=10) --- .../drivers/dri/i965/brw_fs_live_variables.cpp | 44