type directives for x86_64 math asm

This commit is contained in:
Rich Felker
2011-06-26 17:41:34 -04:00
parent 6b3d5e508f
commit bc30aea457
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
.global sqrt
.type sqrt,@function
sqrt: sqrtsd %xmm0, %xmm0
ret

View File

@ -1,3 +1,4 @@
.global sqrtf
.type sqrtf,@function
sqrtf: sqrtss %xmm0, %xmm0
ret