shithub: mc

Download patch

ref: e406ac08a6f68623f0454f2983b88575e69ca62b
parent: bc7052e02f9bdbb93b13987d83f8572b4f657687
author: S. Gilles <[email protected]>
date: Thu Apr 19 16:59:55 EDT 2018

Put _s in the right spot in ASM files.

--- 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
--- 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 @@
 	ret
 
 .globl math$rn64
-.globl math$_rn64
+.globl _math$rn64
 math$rn64:
-math$_rn64:
+_math$rn64:
 	pushq	%rbp
 	movq	%rsp, %rbp
 	subq	$16, %rsp
--- 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
--- 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