diff --git a/basis/cpu/x86/features/features.factor b/basis/cpu/x86/features/features.factor index 7c4026bb6b..8be47f088c 100644 --- a/basis/cpu/x86/features/features.factor +++ b/basis/cpu/x86/features/features.factor @@ -88,13 +88,13 @@ MEMO: sse-version ( -- n ) bool { } cdecl [ return-reg 1 MOV CPUID - ECX 23 BT return-reg dup XOR + ECX 23 BT return-reg SETB ] alien-assembly ; MEMO: enable-popcnt? ( -- ? ) - popcnt? "enable-popcnt" get and ; + popcnt? "disable-popcnt" get not and ; [ { sse-version enable-popcnt? } [ reset-memoized ] each ] "cpu.x86.features" add-startup-hook