about summary refs log tree commit diff
path: root/sysdeps/mips/ieee754/bits/floatn.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips/ieee754/bits/floatn.h')
-rw-r--r--sysdeps/mips/ieee754/bits/floatn.h46
1 files changed, 25 insertions, 21 deletions
diff --git a/sysdeps/mips/ieee754/bits/floatn.h b/sysdeps/mips/ieee754/bits/floatn.h
index 957343daf7..4131991ded 100644
--- a/sysdeps/mips/ieee754/bits/floatn.h
+++ b/sysdeps/mips/ieee754/bits/floatn.h
@@ -39,43 +39,47 @@
    from the default float, double and long double types in this glibc.  */
 #define __HAVE_DISTINCT_FLOAT128 0
 
+#ifndef __ASSEMBLER__
+
 /* Defined to concatenate the literal suffix to be used with _Float128
    types, if __HAVE_FLOAT128 is 1. */
-#if __HAVE_FLOAT128
-# if !__GNUC_PREREQ (7, 0) || defined __cplusplus
+# if __HAVE_FLOAT128
+#  if !__GNUC_PREREQ (7, 0) || defined __cplusplus
 /* The literal suffix f128 exists only since GCC 7.0.  */
-#  define __f128(x) x##l
-# else
-#  define __f128(x) x##f128
+#   define __f128(x) x##l
+#  else
+#   define __f128(x) x##f128
+#  endif
 # endif
-#endif
 
 /* Defined to a complex binary128 type if __HAVE_FLOAT128 is 1.  */
-#if __HAVE_FLOAT128
-# if !__GNUC_PREREQ (7, 0) || defined __cplusplus
-#  define __CFLOAT128 _Complex long double
-# else
-#  define __CFLOAT128 _Complex _Float128
+# if __HAVE_FLOAT128
+#  if !__GNUC_PREREQ (7, 0) || defined __cplusplus
+#   define __CFLOAT128 _Complex long double
+#  else
+#   define __CFLOAT128 _Complex _Float128
+#  endif
 # endif
-#endif
 
 /* The remaining of this file provides support for older compilers.  */
-#if __HAVE_FLOAT128
+# if __HAVE_FLOAT128
 
 /* The type _Float128 exists only since GCC 7.0.  */
-# if !__GNUC_PREREQ (7, 0) || defined __cplusplus
+#  if !__GNUC_PREREQ (7, 0) || defined __cplusplus
 typedef long double _Float128;
-# endif
+#  endif
 
 /* Various built-in functions do not exist before GCC 7.0.  */
-# if !__GNUC_PREREQ (7, 0)
-#  define __builtin_huge_valf128() (__builtin_huge_vall ())
-#  define __builtin_inff128() (__builtin_infl ())
-#  define __builtin_nanf128(x) (__builtin_nanl (x))
-#  define __builtin_nansf128(x) (__builtin_nansl (x))
+#  if !__GNUC_PREREQ (7, 0)
+#   define __builtin_huge_valf128() (__builtin_huge_vall ())
+#   define __builtin_inff128() (__builtin_infl ())
+#   define __builtin_nanf128(x) (__builtin_nanl (x))
+#   define __builtin_nansf128(x) (__builtin_nansl (x))
+#  endif
+
 # endif
 
-#endif
+#endif /* !__ASSEMBLER__.  */
 
 #include <bits/floatn-common.h>