about summary refs log tree commit diff
path: root/sysdeps/loongarch/fpu/math-use-builtins-fmin.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/loongarch/fpu/math-use-builtins-fmin.h')
-rw-r--r--sysdeps/loongarch/fpu/math-use-builtins-fmin.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/loongarch/fpu/math-use-builtins-fmin.h b/sysdeps/loongarch/fpu/math-use-builtins-fmin.h
new file mode 100644
index 0000000000..4d28b41c0d
--- /dev/null
+++ b/sysdeps/loongarch/fpu/math-use-builtins-fmin.h
@@ -0,0 +1,10 @@
+#if __GNUC_PREREQ (13, 0)
+# define USE_FMIN_BUILTIN 1
+# define USE_FMINF_BUILTIN 1
+#else
+# define USE_FMIN_BUILTIN 0
+# define USE_FMINF_BUILTIN 0
+#endif
+
+#define USE_FMINL_BUILTIN 0
+#define USE_FMINF128_BUILTIN 0