diff options
author | Carl Michal <michal@physics.ubc.ca> | 2021-05-22 20:43:10 -0700 |
---|---|---|
committer | Carl Michal <michal@physics.ubc.ca> | 2021-05-22 20:43:10 -0700 |
commit | 59764c6d3621423c9d4e136e99a69078a79ca6f5 (patch) | |
tree | 4d770ec5c5fc24135a47a04ec71f8d5000635a0b /numpy/lib/utils.py | |
parent | b283e16320d962517381ec2202bb55d785b33e8c (diff) | |
download | numpy-59764c6d3621423c9d4e136e99a69078a79ca6f5.tar.gz |
Fix compile-time test of POPCNT
The compile-time test of POPCNT, cpu_popcnt.c produced code that would
execute without error even if the machine didn't support the popcnt
instruction. This patch attempts to use popcnt on random numbers so the
compiler can't substitute the answer at compile time.
Diffstat (limited to 'numpy/lib/utils.py')
0 files changed, 0 insertions, 0 deletions