public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2022-10-28 17:47 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-10-28 17:47 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6fdea0a59646ab4f4eaba28685e46307ca59f843

commit 6fdea0a59646ab4f4eaba28685e46307ca59f843
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/math/math.h b/math/math.h
index 82e484b777..7afb6d32b9 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1012,7 +1012,8 @@ enum
 
 /* Return nonzero value if X is positive or negative infinity.  */
 # if __HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7,0) \
-     && !defined __SUPPORT_SNAN__ && !defined __cplusplus
+     && !defined __SUPPORT_SNAN__ && !defined __cplusplus \
+     && !defined __clang__
    /* Since __builtin_isinf_sign is broken for float128 before GCC 7.0,
       use the helper function, __isinff128, with older compilers.  This is
       only provided for C mode, because in C++ mode, GCC has no support
@@ -1021,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2024-04-17 20:12 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-04-17 20:12 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=645ebc4942a7edc5d4ddf31ce9ee5dfbe3c751a2

commit 645ebc4942a7edc5d4ddf31ce9ee5dfbe3c751a2
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/math/math.h b/math/math.h
index 59caf4b7e6..0173919543 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1022,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2024-04-02 15:59 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-04-02 15:59 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b5d8b4f3756e337c0872c2b8db94f1e5e7da5dfe

commit b5d8b4f3756e337c0872c2b8db94f1e5e7da5dfe
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/math/math.h b/math/math.h
index 59caf4b7e6..0173919543 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1022,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2024-02-09 17:37 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-02-09 17:37 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=890868ea70b0a9d8167b3fc6ba361e85a20823b6

commit 890868ea70b0a9d8167b3fc6ba361e85a20823b6
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/math/math.h b/math/math.h
index 59caf4b7e6..0173919543 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1022,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2024-02-07 14:12 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-02-07 14:12 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c096441044adfeecbf0c74897359e71d023aa8b4

commit c096441044adfeecbf0c74897359e71d023aa8b4
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/math/math.h b/math/math.h
index 59caf4b7e6..0173919543 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1022,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2024-01-29 18:02 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-01-29 18:02 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5dba3ec9f1147323a4cb395473e56955b07b0239

commit 5dba3ec9f1147323a4cb395473e56955b07b0239
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/math/math.h b/math/math.h
index 919cc34056..020ae9c9ff 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1022,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2023-12-21 18:59 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-12-21 18:59 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=129f8d39a9ef6053479b910a77cdbd47d50d7430

commit 129f8d39a9ef6053479b910a77cdbd47d50d7430
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/math/math.h b/math/math.h
index be1518cd4a..57cccd251f 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1022,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2023-09-28 17:57 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-09-28 17:57 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=72acadb9f2089b92c8fd88c4c9055580267a4c44

commit 72acadb9f2089b92c8fd88c4c9055580267a4c44
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/math/math.h b/math/math.h
index be1518cd4a..57cccd251f 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1022,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2023-08-30 12:41 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-08-30 12:41 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8e5dcc45b8354945831bdfcf1b6056af38ed5a57

commit 8e5dcc45b8354945831bdfcf1b6056af38ed5a57
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/math/math.h b/math/math.h
index be1518cd4a..57cccd251f 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1022,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2023-02-09 19:53 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-02-09 19:53 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5894966857be2b460a971c1bd03df67af04a9e94

commit 5894966857be2b460a971c1bd03df67af04a9e94
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/math/math.h b/math/math.h
index 51fae7aff4..cd476b2657 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1012,7 +1012,8 @@ enum
 
 /* Return nonzero value if X is positive or negative infinity.  */
 # if __HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7,0) \
-     && !defined __SUPPORT_SNAN__ && !defined __cplusplus
+     && !defined __SUPPORT_SNAN__ && !defined __cplusplus \
+     && !defined __clang__
    /* Since __builtin_isinf_sign is broken for float128 before GCC 7.0,
       use the helper function, __isinff128, with older compilers.  This is
       only provided for C mode, because in C++ mode, GCC has no support
@@ -1021,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2022-10-04 13:04 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-10-04 13:04 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=56a7b34b82d11c0e25b102d026e9b5db97726428

commit 56a7b34b82d11c0e25b102d026e9b5db97726428
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/math/math.h b/math/math.h
index 82e484b777..7afb6d32b9 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1012,7 +1012,8 @@ enum
 
 /* Return nonzero value if X is positive or negative infinity.  */
 # if __HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7,0) \
-     && !defined __SUPPORT_SNAN__ && !defined __cplusplus
+     && !defined __SUPPORT_SNAN__ && !defined __cplusplus \
+     && !defined __clang__
    /* Since __builtin_isinf_sign is broken for float128 before GCC 7.0,
       use the helper function, __isinff128, with older compilers.  This is
       only provided for C mode, because in C++ mode, GCC has no support
@@ -1021,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2022-06-09 21:26 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 21:26 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=61e3a3323db101ca515c5d8851b8544f1b17814c

commit 61e3a3323db101ca515c5d8851b8544f1b17814c
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/math/math.h b/math/math.h
index 8e64e2eb4f..1cac405f67 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1012,7 +1012,8 @@ enum
 
 /* Return nonzero value if X is positive or negative infinity.  */
 # if __HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7,0) \
-     && !defined __SUPPORT_SNAN__ && !defined __cplusplus
+     && !defined __SUPPORT_SNAN__ && !defined __cplusplus \
+     && !defined __clang__
    /* Since __builtin_isinf_sign is broken for float128 before GCC 7.0,
       use the helper function, __isinff128, with older compilers.  This is
       only provided for C mode, because in C++ mode, GCC has no support
@@ -1021,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2022-06-09 13:22 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 13:22 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=61e3a3323db101ca515c5d8851b8544f1b17814c

commit 61e3a3323db101ca515c5d8851b8544f1b17814c
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/math/math.h b/math/math.h
index 8e64e2eb4f..1cac405f67 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1012,7 +1012,8 @@ enum
 
 /* Return nonzero value if X is positive or negative infinity.  */
 # if __HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7,0) \
-     && !defined __SUPPORT_SNAN__ && !defined __cplusplus
+     && !defined __SUPPORT_SNAN__ && !defined __cplusplus \
+     && !defined __clang__
    /* Since __builtin_isinf_sign is broken for float128 before GCC 7.0,
       use the helper function, __isinff128, with older compilers.  This is
       only provided for C mode, because in C++ mode, GCC has no support
@@ -1021,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2022-06-03 14:11 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-06-03 14:11 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c6f0776e21179e229afe5b0a87419879269ca715

commit c6f0776e21179e229afe5b0a87419879269ca715
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/math/math.h b/math/math.h
index 8e64e2eb4f..1cac405f67 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1012,7 +1012,8 @@ enum
 
 /* Return nonzero value if X is positive or negative infinity.  */
 # if __HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7,0) \
-     && !defined __SUPPORT_SNAN__ && !defined __cplusplus
+     && !defined __SUPPORT_SNAN__ && !defined __cplusplus \
+     && !defined __clang__
    /* Since __builtin_isinf_sign is broken for float128 before GCC 7.0,
       use the helper function, __isinff128, with older compilers.  This is
       only provided for C mode, because in C++ mode, GCC has no support
@@ -1021,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2022-05-13 14:25 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-05-13 14:25 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7655c8fa2314812055bd16072077bfd6cb8a99ad

commit 7655c8fa2314812055bd16072077bfd6cb8a99ad
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/math/math.h b/math/math.h
index 8e64e2eb4f..1cac405f67 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1012,7 +1012,8 @@ enum
 
 /* Return nonzero value if X is positive or negative infinity.  */
 # if __HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7,0) \
-     && !defined __SUPPORT_SNAN__ && !defined __cplusplus
+     && !defined __SUPPORT_SNAN__ && !defined __cplusplus \
+     && !defined __clang__
    /* Since __builtin_isinf_sign is broken for float128 before GCC 7.0,
       use the helper function, __isinff128, with older compilers.  This is
       only provided for C mode, because in C++ mode, GCC has no support
@@ -1021,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2022-05-12 19:39 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-05-12 19:39 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=af8d0489f75087576b6b569e30a34ef6d5733935

commit af8d0489f75087576b6b569e30a34ef6d5733935
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/math/math.h b/math/math.h
index 8e64e2eb4f..1cac405f67 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1012,7 +1012,8 @@ enum
 
 /* Return nonzero value if X is positive or negative infinity.  */
 # if __HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7,0) \
-     && !defined __SUPPORT_SNAN__ && !defined __cplusplus
+     && !defined __SUPPORT_SNAN__ && !defined __cplusplus \
+     && !defined __clang__
    /* Since __builtin_isinf_sign is broken for float128 before GCC 7.0,
       use the helper function, __isinff128, with older compilers.  This is
       only provided for C mode, because in C++ mode, GCC has no support
@@ -1021,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2022-05-10 18:30 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-05-10 18:30 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1871b4c6a281fbe03d3b3ec3bbe3b85e9e3dbbef

commit 1871b4c6a281fbe03d3b3ec3bbe3b85e9e3dbbef
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/math/math.h b/math/math.h
index 8e64e2eb4f..1cac405f67 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1012,7 +1012,8 @@ enum
 
 /* Return nonzero value if X is positive or negative infinity.  */
 # if __HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7,0) \
-     && !defined __SUPPORT_SNAN__ && !defined __cplusplus
+     && !defined __SUPPORT_SNAN__ && !defined __cplusplus \
+     && !defined __clang__
    /* Since __builtin_isinf_sign is broken for float128 before GCC 7.0,
       use the helper function, __isinff128, with older compilers.  This is
       only provided for C mode, because in C++ mode, GCC has no support
@@ -1021,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2022-04-29 14:10 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-04-29 14:10 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ee783241cc4cb722230855de0943ee0a4bb7cf4f

commit ee783241cc4cb722230855de0943ee0a4bb7cf4f
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/math/math.h b/math/math.h
index 8e64e2eb4f..1cac405f67 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1012,7 +1012,8 @@ enum
 
 /* Return nonzero value if X is positive or negative infinity.  */
 # if __HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7,0) \
-     && !defined __SUPPORT_SNAN__ && !defined __cplusplus
+     && !defined __SUPPORT_SNAN__ && !defined __cplusplus \
+     && !defined __clang__
    /* Since __builtin_isinf_sign is broken for float128 before GCC 7.0,
       use the helper function, __isinff128, with older compilers.  This is
       only provided for C mode, because in C++ mode, GCC has no support
@@ -1021,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Do not use __builtin_isinf on clang
@ 2022-04-04 13:00 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-04-04 13:00 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=342c49a85a035a92d6e7683e00c9084faa217d2e

commit 342c49a85a035a92d6e7683e00c9084faa217d2e
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 17:03:34 2022 -0300

    math: Do not use __builtin_isinf on clang
    
    It does not handle pseudo normal numbers.

Diff:
---
 math/math.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/math/math.h b/math/math.h
index 8e64e2eb4f..1cac405f67 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1012,7 +1012,8 @@ enum
 
 /* Return nonzero value if X is positive or negative infinity.  */
 # if __HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7,0) \
-     && !defined __SUPPORT_SNAN__ && !defined __cplusplus
+     && !defined __SUPPORT_SNAN__ && !defined __cplusplus \
+     && !defined __clang__
    /* Since __builtin_isinf_sign is broken for float128 before GCC 7.0,
       use the helper function, __isinff128, with older compilers.  This is
       only provided for C mode, because in C++ mode, GCC has no support
@@ -1021,8 +1022,7 @@ enum
 #  define isinf(x) \
     (__builtin_types_compatible_p (__typeof (x), _Float128) \
      ? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
-       || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
 #  define isinf(x) __builtin_isinf_sign (x)
 # else
 #  define isinf(x) __MATH_TG ((x), __isinf, (x))


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2024-04-17 20:12 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-28 17:47 [glibc/azanella/clang] math: Do not use __builtin_isinf on clang Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2024-04-17 20:12 Adhemerval Zanella
2024-04-02 15:59 Adhemerval Zanella
2024-02-09 17:37 Adhemerval Zanella
2024-02-07 14:12 Adhemerval Zanella
2024-01-29 18:02 Adhemerval Zanella
2023-12-21 18:59 Adhemerval Zanella
2023-09-28 17:57 Adhemerval Zanella
2023-08-30 12:41 Adhemerval Zanella
2023-02-09 19:53 Adhemerval Zanella
2022-10-04 13:04 Adhemerval Zanella
2022-06-09 21:26 Adhemerval Zanella
2022-06-09 13:22 Adhemerval Zanella
2022-06-03 14:11 Adhemerval Zanella
2022-05-13 14:25 Adhemerval Zanella
2022-05-12 19:39 Adhemerval Zanella
2022-05-10 18:30 Adhemerval Zanella
2022-04-29 14:10 Adhemerval Zanella
2022-04-04 13:00 Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).