Hacker News new | past | comments | ask | show | jobs | submit login

x86 only has SIMD instructions for it, IIRC.



You do recall correctly.

Further, x86 only provides these SIMD operations on 8-bit and 16-bit quantities, not on 32-bit or 64-bit quantities (although all these types can be packed into a SIMD register and operated on with at least some operations; for example regular, non-saturating add).

SSE has a menagerie of non-orthogonal oddities, unfortunately; this is only one of them.


And IIRC it's int16_t/uint16_t max.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: