summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorCarl Michal <michal@physics.ubc.ca>2021-05-22 20:43:10 -0700
committerCarl Michal <michal@physics.ubc.ca>2021-05-22 20:43:10 -0700
commit59764c6d3621423c9d4e136e99a69078a79ca6f5 (patch)
tree4d770ec5c5fc24135a47a04ec71f8d5000635a0b /numpy/lib/function_base.py
parentb283e16320d962517381ec2202bb55d785b33e8c (diff)
downloadnumpy-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/function_base.py')
0 files changed, 0 insertions, 0 deletions