diff mbox series

avx10_2-comibf-2.c: Require AVX10.2 support

Message ID CAMe9rOp-2-3ecBNmi8dyXChjOQy8CYGvdg3zzDSEwNLKdS=K=Q@mail.gmail.com
State New
Headers show
Series avx10_2-comibf-2.c: Require AVX10.2 support | expand

Commit Message

H.J. Lu Nov. 6, 2024, 8:17 a.m. UTC
Since avx10_2-comibf-2.c is a run test, require AVX10.2 support.

* gcc.target/i386/avx10_2-comibf-2.c: Require avx10_2 target.

Comments

liuhongt Nov. 6, 2024, 12:35 p.m. UTC | #1
> -----Original Message-----
> From: H.J. Lu <hjl.tools@gmail.com>
> Sent: Wednesday, November 6, 2024 4:17 PM
> To: Liu, Hongtao <hongtao.liu@intel.com>; GCC Patches <gcc-
> patches@gcc.gnu.org>; Uros Bizjak <ubizjak@gmail.com>
> Subject: [PATCH] avx10_2-comibf-2.c: Require AVX10.2 support
> 
> Since avx10_2-comibf-2.c is a run test, require AVX10.2 support.
> 
> * gcc.target/i386/avx10_2-comibf-2.c: Require avx10_2 target.
Ok, thanks.
> 
> --
> H.J.
diff mbox series

Patch

From dd52cbc3668296483de30bb1a58308b8c751f222 Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <hjl.tools@gmail.com>
Date: Wed, 6 Nov 2024 16:14:38 +0800
Subject: [PATCH] avx10_2-comibf-2.c: Require AVX10.2 support

Since avx10_2-comibf-2.c is a run test, require AVX10.2 support.

	* gcc.target/i386/avx10_2-comibf-2.c: Require avx10_2 target.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
---
 gcc/testsuite/gcc.target/i386/avx10_2-comibf-2.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/i386/avx10_2-comibf-2.c b/gcc/testsuite/gcc.target/i386/avx10_2-comibf-2.c
index 126957bf272..a70904c9fad 100644
--- a/gcc/testsuite/gcc.target/i386/avx10_2-comibf-2.c
+++ b/gcc/testsuite/gcc.target/i386/avx10_2-comibf-2.c
@@ -1,5 +1,6 @@ 
- /* { dg-do run } */
+/* { dg-do run } */
 /* { dg-options "-march=x86-64-v3 -mavx10.2 -O2 -fno-trapping-math" } */
+/* { dg-require-effective-target avx10_2 } */
 
 #include <stdlib.h>
 #include <stdint.h>
-- 
2.47.0