From e5e7c1f725fa5d2fbf7fc7eae85dfddba24d20e3 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Tue, 8 Sep 2009 13:56:37 -0500 Subject: [PATCH] cpu.x86.features: add -sse-version command-line switch to override SSE detection --- basis/cpu/x86/features/features.factor | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/basis/cpu/x86/features/features.factor b/basis/cpu/x86/features/features.factor index 878fb592b9..f46055cadd 100644 --- a/basis/cpu/x86/features/features.factor +++ b/basis/cpu/x86/features/features.factor @@ -1,7 +1,8 @@ ! Copyright (C) 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: system kernel math alien.syntax combinators locals init io -cpu.x86 compiler compiler.units accessors ; +USING: system kernel math math.order math.parser namespaces +alien.syntax combinators locals init io cpu.x86 compiler +compiler.units accessors ; IN: cpu.x86.features number min ] when* [ sse-string write " detected" print ] [ install-sse-check ] [ enable-sse ] tri