public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testme)] add -mfloat128 to __float128-using test missing it
@ 2021-03-11 10:21 Alexandre Oliva
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 2021-03-11 10:21 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:f8bdf84feb2d9bdb1b578be679c21f4cfb1713f3

commit f8bdf84feb2d9bdb1b578be679c21f4cfb1713f3
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Tue Mar 9 18:43:07 2021 -0300

    add -mfloat128 to __float128-using test missing it
    
    Most (all?) powerpc tests that use the __float128 type either enable
    it with -mfloat128, or use effective target requirements to check for
    its presence.
    
    prefix-ds-dq.c is failing in some of our configurations because it
    uses the __float128 type without checking for it, or enabling it
    explicitly.
    
    Since it's a compile test, I'm enabling it explicitly.
    
    
    The flag causes a warning to be printed when float128 may not be
    entirely supported; I've arranged for the warning to be ignored in
    this test.
    
    
    In order for the expected asm to be generated, I found the need for
    -mno-strict-align, on toolchains that enable -mstrict-align by
    default.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/powerpc/prefix-ds-dq.c: Enable __float128,
            disable -mstrict-align.

Diff:
---
 gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c b/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
index 554cd0c1bea..ddf56352188 100644
--- a/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
+++ b/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
@@ -1,7 +1,8 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target powerpc_prefixed_addr } */
 /* { dg-require-effective-target lp64 } */
-/* { dg-options "-O2 -mdejagnu-cpu=power10" } */
+/* { dg-options "-O2 -mdejagnu-cpu=power10 -mfloat128 -mno-strict-align" } */
+/* { dg-prune-output ".-mfloat128. option may not be fully supported" } */
 
 /* Tests whether we generate a prefixed load/store operation for addresses that
    don't meet DS/DQ offset constraints.  64-bit is needed for testing the use


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

* [gcc(refs/users/aoliva/heads/testme)] add -mfloat128 to __float128-using test missing it
@ 2021-03-09 21:47 Alexandre Oliva
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 2021-03-09 21:47 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:13f9bf43180aaadf949ad142eac9c380dde9d6c8

commit 13f9bf43180aaadf949ad142eac9c380dde9d6c8
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Tue Mar 9 18:43:07 2021 -0300

    add -mfloat128 to __float128-using test missing it
    
    Most (all?) powerpc tests that use the __float128 type either enable
    it with -mfloat128, or use effective target requirements to check for
    its presence.
    
    prefix-ds-dq.c is failing in some of our configurations because it
    uses the __float128 type without checking for it, or enabling it
    explicitly.
    
    Since it's a compile test, I'm enabling it explicitly.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/powerpc/prefix-ds-dq.c: Enable __float128.

Diff:
---
 gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c b/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
index 554cd0c1bea..6517eadf44c 100644
--- a/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
+++ b/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
@@ -1,7 +1,8 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target powerpc_prefixed_addr } */
 /* { dg-require-effective-target lp64 } */
-/* { dg-options "-O2 -mdejagnu-cpu=power10" } */
+/* { dg-options "-O2 -mdejagnu-cpu=power10 -mfloat128" } */
+/* { dg-prune-output ".-mfloat128. option may not be fully supported" } */
 
 /* Tests whether we generate a prefixed load/store operation for addresses that
    don't meet DS/DQ offset constraints.  64-bit is needed for testing the use


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

* [gcc(refs/users/aoliva/heads/testme)] add -mfloat128 to __float128-using test missing it
@ 2021-03-09 21:25 Alexandre Oliva
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 2021-03-09 21:25 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:54a39afdf8edcbb82cdd3cfd26edc1f6d3c6a5dd

commit 54a39afdf8edcbb82cdd3cfd26edc1f6d3c6a5dd
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Mon Mar 8 23:22:51 2021 -0300

    add -mfloat128 to __float128-using test missing it
    
    Most (all?) powerpc tests that use the __float128 type either enable
    it with -mfloat128, or use effective target requirements to check for
    its presence.
    
    prefix-ds-dq.c is failing in some of our configurations because it
    uses the __float128 type without checking for it, or enabling it
    explicitly.
    
    Since it's a compile test, I'm enabling it explicitly.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/powerpc/prefix-ds-dq.c: Enable __float128.

Diff:
---
 gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c b/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
index 554cd0c1bea..6517eadf44c 100644
--- a/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
+++ b/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
@@ -1,7 +1,8 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target powerpc_prefixed_addr } */
 /* { dg-require-effective-target lp64 } */
-/* { dg-options "-O2 -mdejagnu-cpu=power10" } */
+/* { dg-options "-O2 -mdejagnu-cpu=power10 -mfloat128" } */
+/* { dg-prune-output ".-mfloat128. option may not be fully supported" } */
 
 /* Tests whether we generate a prefixed load/store operation for addresses that
    don't meet DS/DQ offset constraints.  64-bit is needed for testing the use


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

* [gcc(refs/users/aoliva/heads/testme)] add -mfloat128 to __float128-using test missing it
@ 2021-03-09  2:26 Alexandre Oliva
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 2021-03-09  2:26 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:ff15f06d8aafe0a7e87373a389d5c3019aa1f876

commit ff15f06d8aafe0a7e87373a389d5c3019aa1f876
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Mon Mar 8 23:22:51 2021 -0300

    add -mfloat128 to __float128-using test missing it
    
    Most (all?) powerpc tests that use the __float128 type either enable
    it with -mfloat128, or use effective target requirements to check for
    its presence.
    
    prefix-ds-dq.c is failing in some of our configurations because it
    uses the __float128 type without checking for it, or enabling it
    explicitly.
    
    Since it's a compile test, I'm enabling it explicitly.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/powerpc/prefix-ds-dq.c: Enable __float128.

Diff:
---
 gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c b/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
index 554cd0c1bea..6517eadf44c 100644
--- a/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
+++ b/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
@@ -1,7 +1,8 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target powerpc_prefixed_addr } */
 /* { dg-require-effective-target lp64 } */
-/* { dg-options "-O2 -mdejagnu-cpu=power10" } */
+/* { dg-options "-O2 -mdejagnu-cpu=power10 -mfloat128" } */
+/* { dg-prune-output ".-mfloat128. option may not be fully supported" } */
 
 /* Tests whether we generate a prefixed load/store operation for addresses that
    don't meet DS/DQ offset constraints.  64-bit is needed for testing the use


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

end of thread, other threads:[~2021-03-11 10:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 10:21 [gcc(refs/users/aoliva/heads/testme)] add -mfloat128 to __float128-using test missing it Alexandre Oliva
  -- strict thread matches above, loose matches on Subject: below --
2021-03-09 21:47 Alexandre Oliva
2021-03-09 21:25 Alexandre Oliva
2021-03-09  2:26 Alexandre Oliva

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).