News for hackers. Stuff that matters.
Re:“csinc”, the AArch64 instruction you didn’t know you wanted by Sesse__ on Wednesday June 07, 2023 @08:45AM (#36226090)
The VSHRN trick is nice (I used it only two hours ago!), but it really does feel like a crutch; I don't understand why they couldn't simply implement a PMOVMSKB-like instruction to begin with (it cannot possibly be very expensive in silicon, at least not if it moved into a vector register). One-bit-per-byte is really the sweet spot for almost any kind of text manipulation, and often requires less setup/post-fixup on either side of the POVMSKB/VSHRN.

There are no comments on this comment yet.