Re: [Mesa-dev] [PATCH 1/2] i965/compaction: Simplify jump target code.

2014-10-03 Thread Jordan Justen
On Sat, Sep 27, 2014 at 12:57 PM, Matt Turner wrote: > My attempts to clarify the code with _compacted/_uncompacted prefixed > variables apparently failed. Hopefully this is clearer. Heh. Maybe the 'shift' variables could use a better names? (compact_shift?) Regardless, series Reviewed-by: Jorda

[Mesa-dev] [PATCH 1/2] i965/compaction: Simplify jump target code.

2014-09-27 Thread Matt Turner
My attempts to clarify the code with _compacted/_uncompacted prefixed variables apparently failed. Hopefully this is clearer. In any case, the previous code wasn't clear enough to gcc to let it optimize division by a power of two into a shift. No problems now. Also, the previous code (in the ADD