about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-12-01 10:44:58 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-12-13 10:08:43 -0300
commit583c4d424ec29f506c2c21fad99de3dd3caf53bb (patch)
tree41cf16ecb7d927c02c4fac42dbf2f35b1c0acd29 /sysdeps
parent72ab1eaec7e46cdb6c4f37fb687a7a593f93020a (diff)
downloadglibc-583c4d424ec29f506c2c21fad99de3dd3caf53bb.tar.gz
glibc-583c4d424ec29f506c2c21fad99de3dd3caf53bb.tar.xz
glibc-583c4d424ec29f506c2c21fad99de3dd3caf53bb.zip
math: Add math-use-builtinds-fmin.h
It allows the architecture to use the builtin instead of generic
implementation.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/math-use-builtins-fmin.h4
-rw-r--r--sysdeps/generic/math-use-builtins.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/generic/math-use-builtins-fmin.h b/sysdeps/generic/math-use-builtins-fmin.h
new file mode 100644
index 0000000000..d2383ce00c
--- /dev/null
+++ b/sysdeps/generic/math-use-builtins-fmin.h
@@ -0,0 +1,4 @@
+#define USE_FMIN_BUILTIN 0
+#define USE_FMINF_BUILTIN 0
+#define USE_FMINL_BUILTIN 0
+#define USE_FMINF128_BUILTIN 0
diff --git a/sysdeps/generic/math-use-builtins.h b/sysdeps/generic/math-use-builtins.h
index e07bba242f..24fba47575 100644
--- a/sysdeps/generic/math-use-builtins.h
+++ b/sysdeps/generic/math-use-builtins.h
@@ -35,5 +35,6 @@
 #include <math-use-builtins-sqrt.h>
 #include <math-use-builtins-fma.h>
 #include <math-use-builtins-fmax.h>
+#include <math-use-builtins-fmin.h>
 
 #endif /* MATH_USE_BUILTINS_H  */