Re: [Mesa-dev] [PATCH 00/10] i965: Silly vec4 un/packing optimizations

2014-10-24 Thread Matt Turner
On Fri, Oct 24, 2014 at 1:45 AM, Francisco Jerez wrote: > Matt Turner writes: > >> When I implemented these built-ins couple of years ago, I thought there >> must be a neat way to optimize them. I tried a couple of things with the >> different vector immediates i965 provides, but the V/UV types a

Re: [Mesa-dev] [PATCH 00/10] i965: Silly vec4 un/packing optimizations

2014-10-24 Thread Francisco Jerez
Matt Turner writes: > When I implemented these built-ins couple of years ago, I thought there > must be a neat way to optimize them. I tried a couple of things with the > different vector immediates i965 provides, but the V/UV types are too > small to represent the appropriate shift values, and s

[Mesa-dev] [PATCH 00/10] i965: Silly vec4 un/packing optimizations

2014-10-23 Thread Matt Turner
When I implemented these built-ins couple of years ago, I thought there must be a neat way to optimize them. I tried a couple of things with the different vector immediates i965 provides, but the V/UV types are too small to represent the appropriate shift values, and shift instructions can't shift