public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2022-10-28 17:43 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-10-28 17:43 UTC (permalink / raw)
  To: glibc-cvs

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

commit 80e44cb1253a365a3d96bbd057cb27b578856ddb
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting
    
    Clang issues the following warning:
    
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:49:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldnx, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:51:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldny, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index 1928db672f..86f45d8269 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);

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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2024-02-09 17:33 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-02-09 17:33 UTC (permalink / raw)
  To: glibc-cvs

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

commit 3972c9e361a72db29a38481fe771db5300eb9248
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting
    
    Clang issues the following warning:
    
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:49:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldnx, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:51:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldny, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index 5d64da8a91..aa88ba6369 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);

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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2024-02-07 14:09 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-02-07 14:09 UTC (permalink / raw)
  To: glibc-cvs

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

commit 3e00404024952ec5cd46f3add9405ea95472004b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting
    
    Clang issues the following warning:
    
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:49:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldnx, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:51:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldny, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index 5d64da8a91..aa88ba6369 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);

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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2024-01-29 17:59 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-01-29 17:59 UTC (permalink / raw)
  To: glibc-cvs

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

commit e988a6eb167e3cf11507fbc74e88829e3631842c
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting
    
    Clang issues the following warning:
    
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:49:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldnx, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:51:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldny, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index 5d64da8a91..aa88ba6369 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);

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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2023-12-21 18:56 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-12-21 18:56 UTC (permalink / raw)
  To: glibc-cvs

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

commit db93501650d88bd5f042ad6a98a1bd121cc0a654
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting
    
    Clang issues the following warning:
    
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:49:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldnx, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:51:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldny, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index ce0fc3d25b..159d64155e 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);

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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2023-09-28 17:54 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-09-28 17:54 UTC (permalink / raw)
  To: glibc-cvs

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

commit 5def618bf0a4400304ea20d25f642138f02fd21c
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting
    
    Clang issues the following warning:
    
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:49:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldnx, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:51:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldny, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index ce0fc3d25b..159d64155e 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);

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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2023-08-30 12:38 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-08-30 12:38 UTC (permalink / raw)
  To: glibc-cvs

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

commit 9811dc9e83dbab2e01de43b19ca60c9916ee8a13
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting
    
    Clang issues the following warning:
    
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:49:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldnx, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:51:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldny, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index ce0fc3d25b..159d64155e 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);

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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2023-02-09 19:50 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-02-09 19:50 UTC (permalink / raw)
  To: glibc-cvs

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

commit 99b4a2da1cfc4b159922ecde3e30a8a96ebfec5a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting
    
    Clang issues the following warning:
    
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:49:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldnx, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:51:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldny, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index ce0fc3d25b..159d64155e 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);

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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2022-10-04 13:01 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-10-04 13:01 UTC (permalink / raw)
  To: glibc-cvs

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

commit 60d4bc40613b857e834f0a7049fd4ca631a60f2d
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting
    
    Clang issues the following warning:
    
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:49:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldnx, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~
      ../sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c:51:2: error:
      implicit truncation from 'int' to bit-field changes value from 65535 to
      -1 [-Werror,-Wbitfield-constant-conversion]
              SET_LDOUBLE_WORDS (ldny, 0xffff,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../sysdeps/x86_64/fpu/math_ldbl.h:56:28: note: expanded from macro
      'SET_LDOUBLE_WORDS'
        iw_u.parts.sign_exponent = (exp);                             \
                                 ^ ~~~~~

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index 1928db672f..86f45d8269 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);

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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2022-06-09 21:22 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 21:22 UTC (permalink / raw)
  To: glibc-cvs

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

commit 3dd0f965552681600b0fe5214193d58cec8d9016
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index 1928db672f..86f45d8269 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);


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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2022-06-09 13:18 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 13:18 UTC (permalink / raw)
  To: glibc-cvs

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

commit 3dd0f965552681600b0fe5214193d58cec8d9016
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index 1928db672f..86f45d8269 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);


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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2022-06-03 14:08 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-06-03 14:08 UTC (permalink / raw)
  To: glibc-cvs

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

commit 3c67ab5bc5712f581f973d8d792ab50d651a1a47
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index 1928db672f..86f45d8269 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);


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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2022-05-13 14:21 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-05-13 14:21 UTC (permalink / raw)
  To: glibc-cvs

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

commit 8ac32bd54868aa9462a86223eb5a4bc2e71447a4
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index 1928db672f..86f45d8269 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);


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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2022-05-12 19:35 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-05-12 19:35 UTC (permalink / raw)
  To: glibc-cvs

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

commit 600318a7ac37b889778a516b4701718acf1a1c41
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index 1928db672f..86f45d8269 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);


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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2022-05-10 18:26 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-05-10 18:26 UTC (permalink / raw)
  To: glibc-cvs

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

commit 0b6aad1d0a3a0e4b67d48e0f3978cc0fc7d3a9f6
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index 1928db672f..86f45d8269 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);


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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2022-04-29 14:06 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-04-29 14:06 UTC (permalink / raw)
  To: glibc-cvs

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

commit 7433c08f924fa22278301ae069dd36754308d8e5
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index 1928db672f..86f45d8269 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);


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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2022-04-04 12:56 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-04-04 12:56 UTC (permalink / raw)
  To: glibc-cvs

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

commit e1f385509648f7c6c954acbe5c5fc3d8d667db52
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index 1928db672f..86f45d8269 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);


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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2022-03-31 19:08 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-03-31 19:08 UTC (permalink / raw)
  To: glibc-cvs

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

commit 91e21ca44bd89182588e464927831f53cd483e87
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index 1928db672f..86f45d8269 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);


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

* [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting
@ 2022-03-29 20:31 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-03-29 20:31 UTC (permalink / raw)
  To: glibc-cvs

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

commit e5658b157906322022ad2f46f45457808b07d503
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:14:35 2022 -0300

    math: Fix test-totalorderl-ldbl-96 exponent setting

Diff:
---
 sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
index 1928db672f..86f45d8269 100644
--- a/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
+++ b/sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
@@ -46,9 +46,9 @@ do_test (void)
 	SET_LDOUBLE_WORDS (ldy, 0x7fff,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldnx, 0xffff,
+	SET_LDOUBLE_WORDS (ldnx, -1,
 			   tests[i] >> 32, tests[i] & 0xffffffffULL);
-	SET_LDOUBLE_WORDS (ldny, 0xffff,
+	SET_LDOUBLE_WORDS (ldny, -1,
 			   (tests[i] >> 32) | 0x80000000,
 			   tests[i] & 0xffffffffULL);
 	bool to1 = totalorderl (&ldx, &ldy);


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

end of thread, other threads:[~2024-02-09 17:33 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:43 [glibc/azanella/clang] math: Fix test-totalorderl-ldbl-96 exponent setting Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2024-02-09 17:33 Adhemerval Zanella
2024-02-07 14:09 Adhemerval Zanella
2024-01-29 17:59 Adhemerval Zanella
2023-12-21 18:56 Adhemerval Zanella
2023-09-28 17:54 Adhemerval Zanella
2023-08-30 12:38 Adhemerval Zanella
2023-02-09 19:50 Adhemerval Zanella
2022-10-04 13:01 Adhemerval Zanella
2022-06-09 21:22 Adhemerval Zanella
2022-06-09 13:18 Adhemerval Zanella
2022-06-03 14:08 Adhemerval Zanella
2022-05-13 14:21 Adhemerval Zanella
2022-05-12 19:35 Adhemerval Zanella
2022-05-10 18:26 Adhemerval Zanella
2022-04-29 14:06 Adhemerval Zanella
2022-04-04 12:56 Adhemerval Zanella
2022-03-31 19:08 Adhemerval Zanella
2022-03-29 20:31 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).