User: Password:
|
|
Subscribe / Log in / New account

The word-at-a-time interface

The word-at-a-time interface

Posted Jun 14, 2012 7:04 UTC (Thu) by jzbiciak (subscriber, #5246)
In reply to: The word-at-a-time interface by jzbiciak
Parent article: The word-at-a-time interface

Ok, I can't resist offering a hint for the 64-bit case. Consider that ((mask + 1) * 0x0001020304050607ul) >> 56 would also work.


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds