aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/loongarch/fpu/math-use-builtins-fmax.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/loongarch/fpu/math-use-builtins-fmax.h')
-rw-r--r--sysdeps/loongarch/fpu/math-use-builtins-fmax.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/loongarch/fpu/math-use-builtins-fmax.h b/sysdeps/loongarch/fpu/math-use-builtins-fmax.h
new file mode 100644
index 0000000..5d22567
--- /dev/null
+++ b/sysdeps/loongarch/fpu/math-use-builtins-fmax.h
@@ -0,0 +1,10 @@
+#if __GNUC_PREREQ (13, 0)
+# define USE_FMAX_BUILTIN 1
+# define USE_FMAXF_BUILTIN 1
+#else
+# define USE_FMAX_BUILTIN 0
+# define USE_FMAXF_BUILTIN 0
+#endif
+
+#define USE_FMAXL_BUILTIN 0
+#define USE_FMAXF128_BUILTIN 0