Re: [Mesa-dev] [PATCH 1/2] mesa: Add a streaming load memcpy implementation.

2013-11-09 Thread Matt Turner
On Sat, Nov 9, 2013 at 3:54 AM, Steven Newbury wrote: > On Wed, 2013-11-06 at 17:06 -0800, Chad Versace wrote: >> On 11/06/2013 02:44 PM, Eric Anholt wrote: >> > Matt Turner writes: >> > >> >> Uses SSE 4.1's MOVNTDQA instruction (streaming load) to read from >> >> uncached memory without pollutin

Re: [Mesa-dev] [PATCH 1/2] mesa: Add a streaming load memcpy implementation.

2013-11-09 Thread Steven Newbury
On Wed, 2013-11-06 at 17:06 -0800, Chad Versace wrote: > On 11/06/2013 02:44 PM, Eric Anholt wrote: > > Matt Turner writes: > > > >> Uses SSE 4.1's MOVNTDQA instruction (streaming load) to read from > >> uncached memory without polluting the cache. > >> --- > >> We should add runtime detection sup

Re: [Mesa-dev] [PATCH 1/2] mesa: Add a streaming load memcpy implementation.

2013-11-06 Thread Chad Versace
On 11/06/2013 02:44 PM, Eric Anholt wrote: Matt Turner writes: Uses SSE 4.1's MOVNTDQA instruction (streaming load) to read from uncached memory without polluting the cache. --- We should add runtime detection support later. I'd really like to see runtime detection with this. Effectively no

Re: [Mesa-dev] [PATCH 1/2] mesa: Add a streaming load memcpy implementation.

2013-11-06 Thread Eric Anholt
Matt Turner writes: > Uses SSE 4.1's MOVNTDQA instruction (streaming load) to read from > uncached memory without polluting the cache. > --- > We should add runtime detection support later. I'd really like to see runtime detection with this. Effectively not supporting this on 32-bit sucks, and

[Mesa-dev] [PATCH 1/2] mesa: Add a streaming load memcpy implementation.

2013-11-05 Thread Matt Turner
Uses SSE 4.1's MOVNTDQA instruction (streaming load) to read from uncached memory without polluting the cache. --- We should add runtime detection support later. src/mesa/Makefile.am | 10 + src/mesa/main/streaming-load-memcpy.c | 85 +++ src/m