cpu.x86.features: Unbiased CPUID test.
parent
9c0a8b3250
commit
d52c0b1987
|
@ -5,5 +5,8 @@ IN: cpu.x86.features.tests
|
|||
[ t ] [ sse-version 0 42 between? ] unit-test
|
||||
[ t ] [ [ 10000 [ ] times ] count-instructions integer? ] unit-test
|
||||
|
||||
{ "GenuineIntel" }
|
||||
[ 0 cpuid [ 4 >le ] map { 1 3 2 } swap nths concat >string ] unit-test
|
||||
{ t }
|
||||
[
|
||||
0 cpuid [ 4 >le ] map { 1 3 2 } swap nths concat >string
|
||||
{ "GenuineIntel" "AuthenticAMD" } member?
|
||||
] unit-test
|
||||
|
|
Loading…
Reference in New Issue