Re: [Mesa-dev] [PATCH] util: try to use SSE instructions with MSVC and 32-bit gcc

2016-08-17 Thread Brian Paul
On 08/17/2016 12:08 PM, Matt Turner wrote: On Wed, Aug 17, 2016 at 10:59 AM, Brian Paul wrote: The lrint() and lrintf() functions are pretty slow and make some texture transfers very inefficient. This patch makes a better effort at using those intrisics for 32-bit gcc and MSVC. Note, this pat

Re: [Mesa-dev] [PATCH] util: try to use SSE instructions with MSVC and 32-bit gcc

2016-08-17 Thread Matt Turner
On Wed, Aug 17, 2016 at 10:59 AM, Brian Paul wrote: > The lrint() and lrintf() functions are pretty slow and make some > texture transfers very inefficient. This patch makes a better effort > at using those intrisics for 32-bit gcc and MSVC. > > Note, this patch doesn't address the use of SSE4.1

[Mesa-dev] [PATCH] util: try to use SSE instructions with MSVC and 32-bit gcc

2016-08-17 Thread Brian Paul
The lrint() and lrintf() functions are pretty slow and make some texture transfers very inefficient. This patch makes a better effort at using those intrisics for 32-bit gcc and MSVC. Note, this patch doesn't address the use of SSE4.1 with MSVC. Reviewed-by: José Fonseca --- src/util/rounding.