]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/math/floats/env/x86/64/64.factor
factor: trim using lists
[factor.git] / basis / math / floats / env / x86 / 64 / 64.factor
index b6f8ee151f71229bda479d6798ac27db7a22b1ad..dcf53c84fa175558739a2b05bf3938900a801e2b 100644 (file)
@@ -1,25 +1,25 @@
-USING: alien alien.c-types cpu.architecture cpu.x86.assembler
-cpu.x86.assembler.operands math.floats.env.x86 sequences system ;
+USING: alien alien.c-types cpu.x86.64 cpu.x86.assembler
+cpu.x86.assembler.operands math.floats.env.x86 system ;
 IN: math.floats.env.x86.64
 
 M: x86.64 get-sse-env
-    void { void* } "cdecl" [
-        int-regs param-regs first [] STMXCSR
+    void { void* } cdecl [
+        param-reg-0 [] STMXCSR
     ] alien-assembly ;
 
 M: x86.64 set-sse-env
-    void { void* } "cdecl" [
-        int-regs param-regs first [] LDMXCSR
+    void { void* } cdecl [
+        param-reg-0 [] LDMXCSR
     ] alien-assembly ;
 
 M: x86.64 get-x87-env
-    void { void* } "cdecl" [
-        int-regs param-regs first [] FNSTSW
-        int-regs param-regs first 2 [+] FNSTCW
+    void { void* } cdecl [
+        param-reg-0 [] FNSTSW
+        param-reg-0 2 [+] FNSTCW
     ] alien-assembly ;
 
 M: x86.64 set-x87-env
-    void { void* } "cdecl" [
+    void { void* } cdecl [
         FNCLEX
-        int-regs param-regs first 2 [+] FLDCW
+        param-reg-0 2 [+] FLDCW
     ] alien-assembly ;