X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fx86_64%2Ffabsf.s;fp=src%2Fmath%2Fx86_64%2Ffabsf.s;h=501a1f17550a7ea040bcb1460ebeb3e03598c735;hb=0e4a995213620630005a14f32c089879f7c0315e;hp=0000000000000000000000000000000000000000;hpb=aa859403886ed4b50da36e7fe101f7431856c004;p=musl diff --git a/src/math/x86_64/fabsf.s b/src/math/x86_64/fabsf.s new file mode 100644 index 00000000..501a1f17 --- /dev/null +++ b/src/math/x86_64/fabsf.s @@ -0,0 +1,7 @@ +.global fabsf +.type fabsf,@function +fabsf: + mov $0x7fffffff,%eax + movq %rax,%xmm1 + andps %xmm1,%xmm0 + ret