Hacker News new | ask | show | jobs
by carbonica 5432 days ago
x86 only has SIMD instructions for it, IIRC.
2 comments

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.