]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[nvptx, testsuite] Remove mptx settings in gcc.target/nvptx tests
authorTom de Vries <tdevries@suse.de>
Sat, 19 Feb 2022 22:33:27 +0000 (23:33 +0100)
committerTom de Vries <tdevries@suse.de>
Tue, 22 Feb 2022 09:14:18 +0000 (10:14 +0100)
Some test-cases in gcc/testsuite/gcc.target/nvptx contain mptx
settings, which are paired with misa settings, in order to have the mptx
version support the misa version.

Since commit decde11183bd ("[nvptx] Choose -mptx default based on -misa"),
this is no longer necessary.

Remove the mptx settings.

Tested on nvptx.

gcc/testsuite/ChangeLog:

2022-02-20  Tom de Vries  <tdevries@suse.de>

* gcc.target/nvptx/float16-1.c: Drop -mptx setting.
* gcc.target/nvptx/float16-2.c: Same.
* gcc.target/nvptx/float16-3.c: Same.
* gcc.target/nvptx/float16-4.c: Same.
* gcc.target/nvptx/float16-5.c: Same.
* gcc.target/nvptx/float16-6.c: Same.
* gcc.target/nvptx/tanh-1.c: Same.

gcc/testsuite/gcc.target/nvptx/float16-1.c
gcc/testsuite/gcc.target/nvptx/float16-2.c
gcc/testsuite/gcc.target/nvptx/float16-3.c
gcc/testsuite/gcc.target/nvptx/float16-4.c
gcc/testsuite/gcc.target/nvptx/float16-5.c
gcc/testsuite/gcc.target/nvptx/float16-6.c
gcc/testsuite/gcc.target/nvptx/tanh-1.c

index 3a0324d1652cd0b1a4ccf44379e0d25de1295d20..9c3f8fe8f9d6a99114fa0f92046382ab0c6cd42b 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -misa=sm_53 -mptx=6.3 -ffast-math" } */
+/* { dg-options "-O2 -misa=sm_53 -ffast-math" } */
 
 _Float16 var;
 
index 5748a9c7a97202a99c6074a8e4f91a304a83b630..2d1dc1aafb592c636da8b7ba9d65f52c33989bd1 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -ffast-math -misa=sm_80 -mptx=7.0" } */
+/* { dg-options "-O2 -ffast-math -misa=sm_80" } */
 
 _Float16 x;
 _Float16 y;
index 914282aa1c36ab5d21432587d2e13e34152f189c..3abcec39a8abf68f1c7c871055bd18ba81d490a1 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -misa=sm_53 -mptx=6.3" } */
+/* { dg-options "-O2 -misa=sm_53" } */
 
 _Float16 var;
 
index b11f17a43ce61df274f0b57e0929b5cc985e2f7d..173f9600ac7ec876ab7e5362024042ca94c69106 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -misa=sm_53 -mptx=6.3 -ffast-math" } */
+/* { dg-options "-O2 -misa=sm_53 -ffast-math" } */
 
 _Float16 var;
 
index 5fe15ecdf7e77dd4ce1996de6f12f57f1a5277a1..700b3159a97ac6261e028e28a1634631acc9dd92 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -misa=sm_53 -mptx=6.3 -ffast-math" } */
+/* { dg-options "-O2 -misa=sm_53 -ffast-math" } */
 
 _Float16 a;
 _Float16 b;
index 8fe4fa3051f4f2b7ecd4ba8c352da8ab586f2421..4889577f7f6a99366c9390d17b6401295d6b130b 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -misa=sm_53 -mptx=6.3" } */
+/* { dg-options "-O2 -misa=sm_53" } */
 
 _Float16 x;
 _Float16 y;
index 56a0e5a85784f06d58a4291f4966a43e3943a252..946b8c1ad4b61023269e871a4ab99d1b3a3694f9 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -ffast-math -misa=sm_75 -mptx=7.0" } */
+/* { dg-options "-O2 -ffast-math -misa=sm_75" } */
 
 float foo(float x)
 {