[committed,nvptx,testsuite] Remove mptx settings in gcc.target/nvptx tests
Commit Message
Hi,
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.
Committed to trunk.
Thanks,
- Tom
[nvptx, testsuite] Remove mptx settings in gcc.target/nvptx tests
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 | 2 +-
gcc/testsuite/gcc.target/nvptx/float16-2.c | 2 +-
gcc/testsuite/gcc.target/nvptx/float16-3.c | 2 +-
gcc/testsuite/gcc.target/nvptx/float16-4.c | 2 +-
gcc/testsuite/gcc.target/nvptx/float16-5.c | 2 +-
gcc/testsuite/gcc.target/nvptx/float16-6.c | 2 +-
gcc/testsuite/gcc.target/nvptx/tanh-1.c | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
@@ -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;
@@ -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;
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2 -misa=sm_53 -mptx=6.3" } */
+/* { dg-options "-O2 -misa=sm_53" } */
_Float16 var;
@@ -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;
@@ -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;
@@ -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;
@@ -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)
{