testsuite: Skip ifcvt-4.c for SPARC V8

Message ID 20240108082029.751159-1-cederman@gaisler.com
State Accepted
Headers
Series testsuite: Skip ifcvt-4.c for SPARC V8 |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Daniel Cederman Jan. 8, 2024, 8:20 a.m. UTC
  Conditional moves are not available in SPARC V8.

gcc/testsuite/ChangeLog:

	* gcc.dg/ifcvt-4.c: Skip for SPARC V8
---
 gcc/testsuite/gcc.dg/ifcvt-4.c | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Eric Botcazou Jan. 9, 2024, 8:49 a.m. UTC | #1
> Conditional moves are not available in SPARC V8.
> 
> gcc/testsuite/ChangeLog:
> 
> 	* gcc.dg/ifcvt-4.c: Skip for SPARC V8

OK.
  

Patch

diff --git a/gcc/testsuite/gcc.dg/ifcvt-4.c b/gcc/testsuite/gcc.dg/ifcvt-4.c
index 8b2583d00e92..99ed34863bac 100644
--- a/gcc/testsuite/gcc.dg/ifcvt-4.c
+++ b/gcc/testsuite/gcc.dg/ifcvt-4.c
@@ -3,6 +3,7 @@ 
 /* { dg-additional-options "-march=z196" { target { s390x-*-* } } } */
 /* { dg-additional-options "-mtune-ctrl=^one_if_conv_insn" { target { i?86-*-* x86_64-*-* } } } */
 /* { dg-skip-if "Multiple set if-conversion not guaranteed on all subtargets" { "arm*-*-* avr-*-* cris-*-* hppa*64*-*-* visium-*-*" riscv*-*-* msp430-*-* nios2-*-* pru-*-* } }  */
+/* { dg-skip-if "" { { sparc*-*-* } && { ! sparc_v9 } } }  */
 /* { dg-skip-if "" { "s390x-*-*" } { "-m31" } }  */
 
 typedef int word __attribute__((mode(word)));