[Mesa-dev] [PATCH V2] mesa: add SSE optimisation for glDrawElements

Timothy Arceri t_arceri at yahoo.com.au
Fri Oct 24 20:34:07 PDT 2014


On Fri, 2014-10-24 at 18:38 +0100, Daniel Stone wrote:
> Hi,
> 
> On 24 October 2014 18:51, Emil Velikov <emil.l.velikov at gmail.com>
> wrote:
>         Sigh... why can't everyone be like Gentoo - set compiler flags
>         and
>         rebuild for your machine/cpu :P
>         
>         Apart from the Makefile.sources change spotted by Matt, can
>         you make use
>         of USE_SSE41 ? Take a look at commit b3121bfd413 for the whys
>         and hows :)
> 
> 
> Maybe slightly overkill, but have you considered using ORC
> (replacement for liboil) instead of hand-writing ASM? GStreamer
> already uses it pretty extensively.

Just had a look at it and it looks interesting. However since it adds a
dependency and introduces its own language I'd be interested in what
other people think before spending to much time on it.

There are definitely many other places in mesa that could easily make
use of these type of optimisations so it would be good to get a feeling
for what people would prefer.


> 
> 
> Cheers,
> Daniel 




More information about the mesa-dev mailing list