]> gitweb.factorcode.org Git - factor.git/commit
cpu.x86: enable POPCNT with a flag
authorJoe Groff <arcata@gmail.com>
Tue, 13 Dec 2011 00:43:49 +0000 (16:43 -0800)
committerJoe Groff <arcata@gmail.com>
Tue, 13 Dec 2011 00:43:49 +0000 (16:43 -0800)
commitd927a070ed0b6bf10461b82e9d2e2fcf342baa6c
tree52cf2426faefb83895d3f6f23868700a6713660f
parentff50cc6f0f3e8577b106766ab1b0093d217c94a1
cpu.x86: enable POPCNT with a flag
If bootstrapped with '-enable-popcnt' and the host CPU supports it, enable the POPCNT-based fixnum-bit-count intrinsic. Fixes #436.
basis/cpu/x86/32/32.factor
basis/cpu/x86/64/64.factor
basis/cpu/x86/features/features.factor
basis/cpu/x86/x86.factor