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

Matt Turner mattst88 at gmail.com
Thu Oct 23 14:27:01 PDT 2014


On Thu, Oct 23, 2014 at 2:08 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> 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.

No, for completeness:

pm{in,ax}ub - Extended 3DNow! or SSE1
pm{in,ax}uw - SSE4.1
pm{in,ax}ud - SSE4.1

Signed is different:

pminsb - SSE4.1
pminsw - Extended 3DNow! or SSE1
pminsd - SSE4.1

pminub - Extended 3DNow! or SSE1
pminuw - SSE4.1
pminud - SSE4.1


More information about the mesa-dev mailing list