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

Ilia Mirkin imirkin at alum.mit.edu
Thu Oct 23 14:08:41 PDT 2014


On Thu, Oct 23, 2014 at 4:56 PM, Timothy Arceri <t_arceri at yahoo.com.au> wrote:
> On Thu, 2014-10-23 at 09:20 -0600, Brian Paul wrote:
>>
>> Can something similar be done for 16-bit values?
>>
>
> Yes there are _mm_max_epu16 and _mm_min_epu16 intrinsics too.

And those only need SSE2 iirc. There are also _mm256_* intrinsics for
avx2... so many options. The OpenMP thing starts looking more and more
attractive... Or something based on the gcc-4.x alternatives thing.

  -ilia


More information about the mesa-dev mailing list