]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/cpu-x86.32.S
Merge branch 'master' of git://factorcode.org/git/factor
[factor.git] / vm / cpu-x86.32.S
index 44155519d7ad1694f6abd542a075f6bcb28c28c5..f308bf0b9252e5c3fbcfc0565acdf1fb9c1e0990 100644 (file)
@@ -44,17 +44,6 @@ DEF(void,set_callstack,(F_STACK_FRAME *to, F_STACK_FRAME *from, CELL length, voi
        add $12,%esp                       /* pop args from the stack */
        ret                                /* return _with new stack_ */
 
-/* cpu.x86.32 calls this */
-DEF(bool,check_sse2,(void)):
-       push %ebx
-       mov $1,%eax
-       cpuid
-       shr $26,%edx
-       and $1,%edx
-       pop %ebx
-       mov %edx,%eax
-       ret
-
 DEF(long long,read_timestamp_counter,(void)):
        rdtsc
        ret
@@ -98,7 +87,6 @@ DEF(void,set_x87_env,(const void*)):
 
 #ifdef WINDOWS
        .section .drectve
-       .ascii " -export:check_sse2"
        .ascii " -export:read_timestamp_counter"
        .ascii " -export:get_sse_env"
        .ascii " -export:set_sse_env"