aboutsummaryrefslogtreecommitdiff
path: root/src/math/x86_64/fabsf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/x86_64/fabsf.c')
-rw-r--r--src/math/x86_64/fabsf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/x86_64/fabsf.c b/src/math/x86_64/fabsf.c
index 36ea7481..4b84c6e5 100644
--- a/src/math/x86_64/fabsf.c
+++ b/src/math/x86_64/fabsf.c
@@ -8,3 +8,11 @@ float fabsf(float x)
__asm__ ("andps %1, %0" : "+x"(x) : "x"(t)); // x &= t
return x;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif