type directives for x86_64 math asm
This commit is contained in:
parent
6b3d5e508f
commit
bc30aea457
2 changed files with 2 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
.global sqrt
|
.global sqrt
|
||||||
|
.type sqrt,@function
|
||||||
sqrt: sqrtsd %xmm0, %xmm0
|
sqrt: sqrtsd %xmm0, %xmm0
|
||||||
ret
|
ret
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
.global sqrtf
|
.global sqrtf
|
||||||
|
.type sqrtf,@function
|
||||||
sqrtf: sqrtss %xmm0, %xmm0
|
sqrtf: sqrtss %xmm0, %xmm0
|
||||||
ret
|
ret
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue