summaryrefslogtreecommitdiff
path: root/src/fenv/x86_64
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-06-28 14:41:41 -0400
committerRich Felker <dalias@aerifal.cx>2011-06-28 14:41:41 -0400
commite41182796014b0e2b52c7b3e6ee69ad7d0c3e723 (patch)
tree4a05a57d96c05615868187a23fce62c14e220c51 /src/fenv/x86_64
parentbf30100ad7e208dbac5835b38881c98ceb5b928f (diff)
downloadmusl-e41182796014b0e2b52c7b3e6ee69ad7d0c3e723.tar.gz
musl-e41182796014b0e2b52c7b3e6ee69ad7d0c3e723.tar.bz2
musl-e41182796014b0e2b52c7b3e6ee69ad7d0c3e723.tar.xz
musl-e41182796014b0e2b52c7b3e6ee69ad7d0c3e723.zip
use type directives for fenv asm functions
Diffstat (limited to 'src/fenv/x86_64')
-rw-r--r--src/fenv/x86_64/fenv.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fenv/x86_64/fenv.s b/src/fenv/x86_64/fenv.s
index 3ed22755..8226b52b 100644
--- a/src/fenv/x86_64/fenv.s
+++ b/src/fenv/x86_64/fenv.s
@@ -11,6 +11,7 @@
ret
.global feclearexcept
+.type feclearexcept,@function
feclearexcept:
xor %eax,%eax
xor %esi,%esi
@@ -19,6 +20,7 @@ feclearexcept:
ret
.global feraiseexcept
+.type feraiseexcept,@function
feraiseexcept:
xor %eax,%eax
mov %edi,%esi
@@ -28,6 +30,7 @@ feraiseexcept:
ret
.global fesetround
+.type fesetround,@function
fesetround:
xor %eax,%eax
sub $32,%rsp
@@ -44,6 +47,7 @@ fesetround:
ret
.global fegetround
+.type fegetround,@function
fegetround:
push %rax
stmxcsr (%rsp)
@@ -53,6 +57,7 @@ fegetround:
ret
.global fegetenv
+.type fegetenv,@function
fegetenv:
xor %eax,%eax
fnstenv (%rdi)
@@ -60,6 +65,7 @@ fegetenv:
ret
.global fesetenv
+.type fesetenv,@function
fesetenv:
xor %eax,%eax
inc %rdi
@@ -78,6 +84,7 @@ fesetenv:
ret
.global fetestexcept
+.type fetestexcept,@function
fetestexcept:
push %rax
stmxcsr (%rsp)