Re: [Mesa-dev] [PATCH 0/3][RFC v2] Clamp rgba floats with sse

2014-11-06 Thread Juha-Pekka Heikkila
On 05.11.2014 17:25, Emil Velikov wrote: > Hi Juha-Pekka, > > On 04/11/14 12:05, Juha-Pekka Heikkila wrote: > [snip] >> I made 'x86' folder under >> src/mesa/main. The idea here being if there is optimization targeting >> architecture it'd exist directly under the place where it was used, in its >

Re: [Mesa-dev] [PATCH 0/3][RFC v2] Clamp rgba floats with sse

2014-11-05 Thread Emil Velikov
Hi Juha-Pekka, On 04/11/14 12:05, Juha-Pekka Heikkila wrote: [snip] > I made 'x86' folder under > src/mesa/main. The idea here being if there is optimization targeting > architecture it'd exist directly under the place where it was used, in its > own subdirectly indicating targeted architecture. I

[Mesa-dev] [PATCH 0/3][RFC v2] Clamp rgba floats with sse

2014-11-04 Thread Juha-Pekka Heikkila
Here is new version of sse2 clamping, one patch grew into small set. Now sse2 stuff is separated into its own object which will get -msse2 compile flag. I did sse'ize also rest of _mesa_map_rgba function. As previously there are ifdefs which I don't think look nice but I tried to keep looks of the