summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS. Gilles <sgilles@math.umd.edu>2018-04-19 20:59:55 -0400
committerS. Gilles <sgilles@math.umd.edu>2018-04-19 20:59:55 -0400
commite406ac08a6f68623f0454f2983b88575e69ca62b (patch)
tree159bf8239b0b5d315d243c38e9545d045796ff29
parentbc7052e02f9bdbb93b13987d83f8572b4f657687 (diff)
downloadmc-e406ac08a6f68623f0454f2983b88575e69ca62b.tar.gz
Put _s in the right spot in ASM files.
-rw-r--r--lib/math/fma-impl+posixy-x64-fma.s8
-rw-r--r--lib/math/round-impl+posixy-x64-sse4.s8
-rw-r--r--lib/math/sqrt-impl+posixy-x64-sse2.s8
-rw-r--r--lib/math/trunc-impl+posixy-x64-sse4.s24
4 files changed, 24 insertions, 24 deletions
diff --git a/lib/math/fma-impl+posixy-x64-fma.s b/lib/math/fma-impl+posixy-x64-fma.s
index d72bea6..23dc2e2 100644
--- a/lib/math/fma-impl+posixy-x64-fma.s
+++ b/lib/math/fma-impl+posixy-x64-fma.s
@@ -1,13 +1,13 @@
.globl math$fma32
-.globl math$_fma32
+.globl _math$fma32
math$fma32:
-math$_fma32:
+_math$fma32:
vfmadd132ss %xmm1, %xmm2, %xmm0
ret
.globl math$fma64
-.globl math$_fma64
+.globl _math$fma64
math$fma64:
-math$_fma64:
+_math$fma64:
vfmadd132sd %xmm1, %xmm2, %xmm0
ret
diff --git a/lib/math/round-impl+posixy-x64-sse4.s b/lib/math/round-impl+posixy-x64-sse4.s
index 5e3af3e..73f940c 100644
--- a/lib/math/round-impl+posixy-x64-sse4.s
+++ b/lib/math/round-impl+posixy-x64-sse4.s
@@ -1,7 +1,7 @@
.globl math$rn32
-.globl math$_rn32
+.globl _math$rn32
math$rn32:
-math$_rn32:
+_math$rn32:
pushq %rbp
movq %rsp, %rbp
subq $16, %rsp
@@ -15,9 +15,9 @@ math$_rn32:
ret
.globl math$rn64
-.globl math$_rn64
+.globl _math$rn64
math$rn64:
-math$_rn64:
+_math$rn64:
pushq %rbp
movq %rsp, %rbp
subq $16, %rsp
diff --git a/lib/math/sqrt-impl+posixy-x64-sse2.s b/lib/math/sqrt-impl+posixy-x64-sse2.s
index a219082..3d22d98 100644
--- a/lib/math/sqrt-impl+posixy-x64-sse2.s
+++ b/lib/math/sqrt-impl+posixy-x64-sse2.s
@@ -1,13 +1,13 @@
.globl math$sqrt32
-.globl math$_sqrt32
+.globl _math$sqrt32
math$sqrt32:
-math$_sqrt32:
+_math$sqrt32:
sqrtss %xmm0, %xmm0
ret
.globl math$sqrt64
-.globl math$_sqrt64
+.globl _math$sqrt64
math$sqrt64:
-math$_sqrt64:
+_math$sqrt64:
sqrtsd %xmm0, %xmm0
ret
diff --git a/lib/math/trunc-impl+posixy-x64-sse4.s b/lib/math/trunc-impl+posixy-x64-sse4.s
index 309b869..cb452e0 100644
--- a/lib/math/trunc-impl+posixy-x64-sse4.s
+++ b/lib/math/trunc-impl+posixy-x64-sse4.s
@@ -1,41 +1,41 @@
.globl math$trunc32
-.globl math$_trunc32
+.globl _math$trunc32
math$trunc32:
-math$_trunc32:
+_math$trunc32:
roundss $0x03, %xmm0, %xmm0
ret
.globl math$floor32
-.globl math$_floor32
+.globl _math$floor32
math$floor32:
-math$_floor32:
+_math$floor32:
roundss $0x01, %xmm0, %xmm0
ret
.globl math$ceil32
-.globl math$_ceil32
+.globl _math$ceil32
math$ceil32:
-math$_ceil32:
+_math$ceil32:
roundss $0x02, %xmm0, %xmm0
ret
.globl math$trunc64
-.globl math$_trunc64
+.globl _math$trunc64
math$trunc64:
-math$_trunc64:
+_math$trunc64:
roundsd $0x03, %xmm0, %xmm0
ret
.globl math$floor64
-.globl math$_floor64
+.globl _math$floor64
math$floor64:
-math$_floor64:
+_math$floor64:
roundsd $0x01, %xmm0, %xmm0
ret
.globl math$ceil64
-.globl math$_ceil64
+.globl _math$ceil64
math$ceil64:
-math$_ceil64:
+_math$ceil64:
roundsd $0x02, %xmm0, %xmm0
ret