From 323272db175204b951f119dae4bd99ef05e20f13 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Tue, 7 Jan 2014 22:43:34 +0100 Subject: import vanilla x86_64 code as x32 --- src/math/x32/fabsf.s | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/math/x32/fabsf.s (limited to 'src/math/x32/fabsf.s') diff --git a/src/math/x32/fabsf.s b/src/math/x32/fabsf.s new file mode 100644 index 00000000..501a1f17 --- /dev/null +++ b/src/math/x32/fabsf.s @@ -0,0 +1,7 @@ +.global fabsf +.type fabsf,@function +fabsf: + mov $0x7fffffff,%eax + movq %rax,%xmm1 + andps %xmm1,%xmm0 + ret -- cgit v1.2.1