Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
secondcoming
on June 11, 2021
|
parent
|
context
|
favorite
| on:
The NSA Instruction (2019)
Both clang and gcc have __builtin_popcnt variants.
ncmncm
on June 11, 2021
[–]
But both will issue actual popcount instructions
only if
they have been assured the program will be run on a machine that implements the instruction, which is not the default on, in particular, amd64/x86_64.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: