public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testme)] enable sqrt insns for cdce3.c
@ 2024-04-21 20:27 Alexandre Oliva
  0 siblings, 0 replies; 11+ messages in thread
From: Alexandre Oliva @ 2024-04-21 20:27 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:048689c644c10a99d8618bd0479f727e87e74b90

commit 048689c644c10a99d8618bd0479f727e87e74b90
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Sun Apr 21 17:24:00 2024 -0300

    enable sqrt insns for cdce3.c
    
    The test expects shrink-wrapping of the fsqrt call, but that will only
    occur when there is a usable sqrt insn.
    
    Arrange for dejagnu to add the options that enable the sqrt insn, if
    one is available, and to skip the test otherwise.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/cdce3.c: Add sqrt insn options.

Diff:
---
 gcc/testsuite/gcc.dg/cdce3.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/cdce3.c b/gcc/testsuite/gcc.dg/cdce3.c
index 601ddf055fd..218c24d38f1 100644
--- a/gcc/testsuite/gcc.dg/cdce3.c
+++ b/gcc/testsuite/gcc.dg/cdce3.c
@@ -1,9 +1,10 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target hard_float } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -fdump-tree-optimized" } */
-/* { dg-final { scan-tree-dump "cdce3.c:11: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
+/* { dg-add-options sqrt_insn } */
+/* { dg-require-effective-target sqrt_insn } */
+/* { dg-final { scan-tree-dump "cdce3.c:12: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
 /* { dg-final { scan-tree-dump "sqrtf \\(\[^\n\r]*\\); \\\[tail call\\\]" "optimized" } } */
-/* { dg-skip-if "doesn't have a sqrtf insn" { mmix-*-* } } */
 
 float sqrtf (float);
 float foo (float x)

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

* [gcc(refs/users/aoliva/heads/testme)] enable sqrt insns for cdce3.c
@ 2023-04-06  6:33 Alexandre Oliva
  0 siblings, 0 replies; 11+ messages in thread
From: Alexandre Oliva @ 2023-04-06  6:33 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:735554b445b9d37962f545f609a3591f083c10ff

commit 735554b445b9d37962f545f609a3591f083c10ff
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Wed Apr 5 11:26:25 2023 -0300

    enable sqrt insns for cdce3.c
    
    The test expects shrink-wrapping of the fsqrt call, but that will only
    occur when there is a usable sqrt insn.
    
    Arrange for dejagnu to add the options that enable the sqrt insn, if
    one is available, and to skip the test otherwise.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/cdce3.c: Add sqrt insn options.

Diff:
---
 gcc/testsuite/gcc.dg/cdce3.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/cdce3.c b/gcc/testsuite/gcc.dg/cdce3.c
index 601ddf055fd..218c24d38f1 100644
--- a/gcc/testsuite/gcc.dg/cdce3.c
+++ b/gcc/testsuite/gcc.dg/cdce3.c
@@ -1,9 +1,10 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target hard_float } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -fdump-tree-optimized" } */
-/* { dg-final { scan-tree-dump "cdce3.c:11: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
+/* { dg-add-options sqrt_insn } */
+/* { dg-require-effective-target sqrt_insn } */
+/* { dg-final { scan-tree-dump "cdce3.c:12: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
 /* { dg-final { scan-tree-dump "sqrtf \\(\[^\n\r]*\\); \\\[tail call\\\]" "optimized" } } */
-/* { dg-skip-if "doesn't have a sqrtf insn" { mmix-*-* } } */
 
 float sqrtf (float);
 float foo (float x)

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

* [gcc(refs/users/aoliva/heads/testme)] enable sqrt insns for cdce3.c
@ 2023-03-30 14:06 Alexandre Oliva
  0 siblings, 0 replies; 11+ messages in thread
From: Alexandre Oliva @ 2023-03-30 14:06 UTC (permalink / raw)
  To: gcc-cvs

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

commit e2c97e1075410fa7b5974d9092ba8f50dfe8de3c
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Mar 30 05:06:18 2023 -0300

    enable sqrt insns for cdce3.c
    
    The test expects shrink-wrapping of the fsqrt call, but that will only
    occur when there is a usable sqrt insn.
    
    Arrange for dejagnu to add the options that enable the sqrt insn, if
    one is available, and to skip the test otherwise.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/cdce3.c: Add sqrt insn options.

Diff:
---
 gcc/testsuite/gcc.dg/cdce3.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/cdce3.c b/gcc/testsuite/gcc.dg/cdce3.c
index 601ddf055fd..218c24d38f1 100644
--- a/gcc/testsuite/gcc.dg/cdce3.c
+++ b/gcc/testsuite/gcc.dg/cdce3.c
@@ -1,9 +1,10 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target hard_float } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -fdump-tree-optimized" } */
-/* { dg-final { scan-tree-dump "cdce3.c:11: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
+/* { dg-add-options sqrt_insn } */
+/* { dg-require-effective-target sqrt_insn } */
+/* { dg-final { scan-tree-dump "cdce3.c:12: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
 /* { dg-final { scan-tree-dump "sqrtf \\(\[^\n\r]*\\); \\\[tail call\\\]" "optimized" } } */
-/* { dg-skip-if "doesn't have a sqrtf insn" { mmix-*-* } } */
 
 float sqrtf (float);
 float foo (float x)

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

* [gcc(refs/users/aoliva/heads/testme)] enable sqrt insns for cdce3.c
@ 2023-03-24  6:24 Alexandre Oliva
  0 siblings, 0 replies; 11+ messages in thread
From: Alexandre Oliva @ 2023-03-24  6:24 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1ad17068bcb3789422aaf39db15fe677b76fffaf

commit 1ad17068bcb3789422aaf39db15fe677b76fffaf
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Mar 23 00:44:13 2023 -0300

    enable sqrt insns for cdce3.c
    
    The test expects shrink-wrapping of the fsqrt call, but that will only
    occur when there is a usable sqrt insn.
    
    Arrange for dejagnu to add the options that enable the sqrt insn, if
    one is available, and to skip the test otherwise.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/cdce3.c: Add sqrt insn options.

Diff:
---
 gcc/testsuite/gcc.dg/cdce3.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/cdce3.c b/gcc/testsuite/gcc.dg/cdce3.c
index 601ddf055fd..218c24d38f1 100644
--- a/gcc/testsuite/gcc.dg/cdce3.c
+++ b/gcc/testsuite/gcc.dg/cdce3.c
@@ -1,9 +1,10 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target hard_float } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -fdump-tree-optimized" } */
-/* { dg-final { scan-tree-dump "cdce3.c:11: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
+/* { dg-add-options sqrt_insn } */
+/* { dg-require-effective-target sqrt_insn } */
+/* { dg-final { scan-tree-dump "cdce3.c:12: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
 /* { dg-final { scan-tree-dump "sqrtf \\(\[^\n\r]*\\); \\\[tail call\\\]" "optimized" } } */
-/* { dg-skip-if "doesn't have a sqrtf insn" { mmix-*-* } } */
 
 float sqrtf (float);
 float foo (float x)

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

* [gcc(refs/users/aoliva/heads/testme)] enable sqrt insns for cdce3.c
@ 2023-03-23  3:46 Alexandre Oliva
  0 siblings, 0 replies; 11+ messages in thread
From: Alexandre Oliva @ 2023-03-23  3:46 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:9b958f3d2210dcf42fb482c5b43ba0fcf18b4c43

commit 9b958f3d2210dcf42fb482c5b43ba0fcf18b4c43
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Mar 23 00:44:13 2023 -0300

    enable sqrt insns for cdce3.c
    
    The test expects shrink-wrapping of the fsqrt call, but that will only
    occur when there is a usable sqrt insn.
    
    Arrange for dejagnu to add the options that enable the sqrt insn, if
    one is available, and to skip the test otherwise.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/cdce3.c: Add sqrt insn options.

Diff:
---
 gcc/testsuite/gcc.dg/cdce3.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/cdce3.c b/gcc/testsuite/gcc.dg/cdce3.c
index 601ddf055fd..218c24d38f1 100644
--- a/gcc/testsuite/gcc.dg/cdce3.c
+++ b/gcc/testsuite/gcc.dg/cdce3.c
@@ -1,9 +1,10 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target hard_float } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -fdump-tree-optimized" } */
-/* { dg-final { scan-tree-dump "cdce3.c:11: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
+/* { dg-add-options sqrt_insn } */
+/* { dg-require-effective-target sqrt_insn } */
+/* { dg-final { scan-tree-dump "cdce3.c:12: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
 /* { dg-final { scan-tree-dump "sqrtf \\(\[^\n\r]*\\); \\\[tail call\\\]" "optimized" } } */
-/* { dg-skip-if "doesn't have a sqrtf insn" { mmix-*-* } } */
 
 float sqrtf (float);
 float foo (float x)

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

* [gcc(refs/users/aoliva/heads/testme)] enable sqrt insns for cdce3.c
@ 2023-03-16 14:21 Alexandre Oliva
  0 siblings, 0 replies; 11+ messages in thread
From: Alexandre Oliva @ 2023-03-16 14:21 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:3a4550f9ea805532f40ede7e647fcf88dc174144

commit 3a4550f9ea805532f40ede7e647fcf88dc174144
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Mar 18 05:35:16 2021 -0300

    enable sqrt insns for cdce3.c
    
    The test expects shrink-wrapping of the fsqrt call, but that will only
    occur when there is a usable sqrt insn.
    
    Arrange for dejagnu to add the options that enable the sqrt insn, if
    one is available, and to skip the test otherwise.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/cdce3.c: Add sqrt insn options.

Diff:
---
 gcc/testsuite/gcc.dg/cdce3.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/cdce3.c b/gcc/testsuite/gcc.dg/cdce3.c
index 601ddf055fd..218c24d38f1 100644
--- a/gcc/testsuite/gcc.dg/cdce3.c
+++ b/gcc/testsuite/gcc.dg/cdce3.c
@@ -1,9 +1,10 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target hard_float } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -fdump-tree-optimized" } */
-/* { dg-final { scan-tree-dump "cdce3.c:11: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
+/* { dg-add-options sqrt_insn } */
+/* { dg-require-effective-target sqrt_insn } */
+/* { dg-final { scan-tree-dump "cdce3.c:12: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
 /* { dg-final { scan-tree-dump "sqrtf \\(\[^\n\r]*\\); \\\[tail call\\\]" "optimized" } } */
-/* { dg-skip-if "doesn't have a sqrtf insn" { mmix-*-* } } */
 
 float sqrtf (float);
 float foo (float x)

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

* [gcc(refs/users/aoliva/heads/testme)] enable sqrt insns for cdce3.c
@ 2023-03-15 14:04 Alexandre Oliva
  0 siblings, 0 replies; 11+ messages in thread
From: Alexandre Oliva @ 2023-03-15 14:04 UTC (permalink / raw)
  To: gcc-cvs

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

commit af7f6acc8b942dc3849c584fca81ec6391ac6464
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Mar 18 05:35:16 2021 -0300

    enable sqrt insns for cdce3.c
    
    The test expects shrink-wrapping of the fsqrt call, but that will only
    occur when there is a usable sqrt insn.
    
    Arrange for dejagnu to add the options that enable the sqrt insn, if
    one is available, and to skip the test otherwise.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/cdce3.c: Add sqrt insn options.

Diff:
---
 gcc/testsuite/gcc.dg/cdce3.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/cdce3.c b/gcc/testsuite/gcc.dg/cdce3.c
index 601ddf055fd..218c24d38f1 100644
--- a/gcc/testsuite/gcc.dg/cdce3.c
+++ b/gcc/testsuite/gcc.dg/cdce3.c
@@ -1,9 +1,10 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target hard_float } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -fdump-tree-optimized" } */
-/* { dg-final { scan-tree-dump "cdce3.c:11: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
+/* { dg-add-options sqrt_insn } */
+/* { dg-require-effective-target sqrt_insn } */
+/* { dg-final { scan-tree-dump "cdce3.c:12: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
 /* { dg-final { scan-tree-dump "sqrtf \\(\[^\n\r]*\\); \\\[tail call\\\]" "optimized" } } */
-/* { dg-skip-if "doesn't have a sqrtf insn" { mmix-*-* } } */
 
 float sqrtf (float);
 float foo (float x)

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

* [gcc(refs/users/aoliva/heads/testme)] enable sqrt insns for cdce3.c
@ 2021-03-11 10:21 Alexandre Oliva
  0 siblings, 0 replies; 11+ messages in thread
From: Alexandre Oliva @ 2021-03-11 10:21 UTC (permalink / raw)
  To: gcc-cvs

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

commit ebf766475b29921018417485e5015108478693e4
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Tue Mar 9 18:42:52 2021 -0300

    enable sqrt insns for cdce3.c
    
    The test expects shrink-wrapping of the fsqrt call, but that will only
    occur when there is a usable sqrt insn.
    
    Arrange for dejagnu to add the options that enable the sqrt insn, if
    one is available, and to skip the test otherwise.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/cdce3.c: Add sqrt insn options.

Diff:
---
 gcc/testsuite/gcc.dg/cdce3.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/cdce3.c b/gcc/testsuite/gcc.dg/cdce3.c
index 601ddf055fd..f9b3633e66a 100644
--- a/gcc/testsuite/gcc.dg/cdce3.c
+++ b/gcc/testsuite/gcc.dg/cdce3.c
@@ -1,7 +1,8 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target hard_float } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -fdump-tree-optimized" } */
-/* { dg-final { scan-tree-dump "cdce3.c:11: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
+/* { dg-add-options sqrt_insn } */
+/* { dg-final { scan-tree-dump "cdce3.c:12: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
 /* { dg-final { scan-tree-dump "sqrtf \\(\[^\n\r]*\\); \\\[tail call\\\]" "optimized" } } */
 /* { dg-skip-if "doesn't have a sqrtf insn" { mmix-*-* } } */


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

* [gcc(refs/users/aoliva/heads/testme)] enable sqrt insns for cdce3.c
@ 2021-03-09 21:47 Alexandre Oliva
  0 siblings, 0 replies; 11+ messages in thread
From: Alexandre Oliva @ 2021-03-09 21:47 UTC (permalink / raw)
  To: gcc-cvs

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

commit afaa288f530f8d8b47cc25be3525d61459ae2f30
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Tue Mar 9 18:42:52 2021 -0300

    enable sqrt insns for cdce3.c
    
    The test expects shrink-wrapping of the fsqrt call, but that will only
    occur when there is usable sqrt insn.
    
    Arrange for dejagnu to add the options that enable the sqrt insn, if
    one is available.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/cdce3.c: Add sqrt insn options.

Diff:
---
 gcc/testsuite/gcc.dg/cdce3.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/cdce3.c b/gcc/testsuite/gcc.dg/cdce3.c
index 601ddf055fd..f9b3633e66a 100644
--- a/gcc/testsuite/gcc.dg/cdce3.c
+++ b/gcc/testsuite/gcc.dg/cdce3.c
@@ -1,7 +1,8 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target hard_float } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -fdump-tree-optimized" } */
-/* { dg-final { scan-tree-dump "cdce3.c:11: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
+/* { dg-add-options sqrt_insn } */
+/* { dg-final { scan-tree-dump "cdce3.c:12: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
 /* { dg-final { scan-tree-dump "sqrtf \\(\[^\n\r]*\\); \\\[tail call\\\]" "optimized" } } */
 /* { dg-skip-if "doesn't have a sqrtf insn" { mmix-*-* } } */


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

* [gcc(refs/users/aoliva/heads/testme)] enable sqrt insns for cdce3.c
@ 2021-03-09 21:25 Alexandre Oliva
  0 siblings, 0 replies; 11+ messages in thread
From: Alexandre Oliva @ 2021-03-09 21:25 UTC (permalink / raw)
  To: gcc-cvs

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

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

    enable sqrt insns for cdce3.c
    
    The test expects shrink-wrapping of the fsqrt call, but that will only
    occur when there is usable sqrt insn.
    
    Arrange for dejagnu to add the options that enable the sqrt insn, if
    one is available.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/cdce3.c: Add sqrt insn options.

Diff:
---
 gcc/testsuite/gcc.dg/cdce3.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/cdce3.c b/gcc/testsuite/gcc.dg/cdce3.c
index 601ddf055fd..839d49f228f 100644
--- a/gcc/testsuite/gcc.dg/cdce3.c
+++ b/gcc/testsuite/gcc.dg/cdce3.c
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target hard_float } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -fdump-tree-optimized" } */
+/* { dg-add-options sqrt_insn } */
 /* { dg-final { scan-tree-dump "cdce3.c:11: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
 /* { dg-final { scan-tree-dump "sqrtf \\(\[^\n\r]*\\); \\\[tail call\\\]" "optimized" } } */
 /* { dg-skip-if "doesn't have a sqrtf insn" { mmix-*-* } } */


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

* [gcc(refs/users/aoliva/heads/testme)] enable sqrt insns for cdce3.c
@ 2021-03-09  2:26 Alexandre Oliva
  0 siblings, 0 replies; 11+ messages in thread
From: Alexandre Oliva @ 2021-03-09  2:26 UTC (permalink / raw)
  To: gcc-cvs

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

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

    enable sqrt insns for cdce3.c
    
    The test expects shrink-wrapping of the fsqrt call, but that will only
    occur when there is usable sqrt insn.
    
    Arrange for dejagnu to add the options that enable the sqrt insn, if
    one is available.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/cdce3.c: Add sqrt insn options.

Diff:
---
 gcc/testsuite/gcc.dg/cdce3.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/cdce3.c b/gcc/testsuite/gcc.dg/cdce3.c
index 601ddf055fd..839d49f228f 100644
--- a/gcc/testsuite/gcc.dg/cdce3.c
+++ b/gcc/testsuite/gcc.dg/cdce3.c
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target hard_float } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -fdump-tree-optimized" } */
+/* { dg-add-options sqrt_insn } */
 /* { dg-final { scan-tree-dump "cdce3.c:11: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
 /* { dg-final { scan-tree-dump "sqrtf \\(\[^\n\r]*\\); \\\[tail call\\\]" "optimized" } } */
 /* { dg-skip-if "doesn't have a sqrtf insn" { mmix-*-* } } */


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

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

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-21 20:27 [gcc(refs/users/aoliva/heads/testme)] enable sqrt insns for cdce3.c Alexandre Oliva
  -- strict thread matches above, loose matches on Subject: below --
2023-04-06  6:33 Alexandre Oliva
2023-03-30 14:06 Alexandre Oliva
2023-03-24  6:24 Alexandre Oliva
2023-03-23  3:46 Alexandre Oliva
2023-03-16 14:21 Alexandre Oliva
2023-03-15 14:04 Alexandre Oliva
2021-03-11 10:21 Alexandre Oliva
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).