Message ID | 20220228091619.GA5911@delia.home |
---|---|
State | New |
Headers | show |
Series | [committed,nvptx,testsuite] Add -mptx=_ in nvptx.exp test-cases | expand |
diff --git a/gcc/testsuite/gcc.target/nvptx/atomic-store-1.c b/gcc/testsuite/gcc.target/nvptx/atomic-store-1.c index d611f2d410f..eecd00854f7 100644 --- a/gcc/testsuite/gcc.target/nvptx/atomic-store-1.c +++ b/gcc/testsuite/gcc.target/nvptx/atomic-store-1.c @@ -2,7 +2,7 @@ shared state space. */ /* { dg-do compile } */ -/* { dg-options "-misa=sm_53" } */ +/* { dg-options "-misa=sm_53 -mptx=_" } */ enum memmodel { diff --git a/gcc/testsuite/gcc.target/nvptx/atomic-store-2.c b/gcc/testsuite/gcc.target/nvptx/atomic-store-2.c index b58f33f2abd..127d2c4cbe2 100644 --- a/gcc/testsuite/gcc.target/nvptx/atomic-store-2.c +++ b/gcc/testsuite/gcc.target/nvptx/atomic-store-2.c @@ -2,7 +2,7 @@ shared state space. */ /* { dg-do compile } */ -/* { dg-options "-misa=sm_70" } */ +/* { dg-options "-misa=sm_70 -mptx=_" } */ enum memmodel { diff --git a/gcc/testsuite/gcc.target/nvptx/float16-1.c b/gcc/testsuite/gcc.target/nvptx/float16-1.c index 9c3f8fe8f9d..873a0543535 100644 --- a/gcc/testsuite/gcc.target/nvptx/float16-1.c +++ b/gcc/testsuite/gcc.target/nvptx/float16-1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -misa=sm_53 -ffast-math" } */ +/* { dg-options "-O2 -ffast-math -misa=sm_53 -mptx=_" } */ _Float16 var; diff --git a/gcc/testsuite/gcc.target/nvptx/float16-2.c b/gcc/testsuite/gcc.target/nvptx/float16-2.c index 2d1dc1aafb5..30a3092bc29 100644 --- a/gcc/testsuite/gcc.target/nvptx/float16-2.c +++ b/gcc/testsuite/gcc.target/nvptx/float16-2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -ffast-math -misa=sm_80" } */ +/* { dg-options "-O2 -ffast-math -misa=sm_80 -mptx=_" } */ _Float16 x; _Float16 y; diff --git a/gcc/testsuite/gcc.target/nvptx/float16-3.c b/gcc/testsuite/gcc.target/nvptx/float16-3.c index 3abcec39a8a..edd6514a976 100644 --- a/gcc/testsuite/gcc.target/nvptx/float16-3.c +++ b/gcc/testsuite/gcc.target/nvptx/float16-3.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -misa=sm_53" } */ +/* { dg-options "-O2 -misa=sm_53 -mptx=_" } */ _Float16 var; diff --git a/gcc/testsuite/gcc.target/nvptx/float16-4.c b/gcc/testsuite/gcc.target/nvptx/float16-4.c index 173f9600ac7..0a823971e75 100644 --- a/gcc/testsuite/gcc.target/nvptx/float16-4.c +++ b/gcc/testsuite/gcc.target/nvptx/float16-4.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -misa=sm_53 -ffast-math" } */ +/* { dg-options "-O2 -ffast-math -misa=sm_53 -mptx=_" } */ _Float16 var; diff --git a/gcc/testsuite/gcc.target/nvptx/float16-5.c b/gcc/testsuite/gcc.target/nvptx/float16-5.c index 700b3159a97..2261f42baac 100644 --- a/gcc/testsuite/gcc.target/nvptx/float16-5.c +++ b/gcc/testsuite/gcc.target/nvptx/float16-5.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -misa=sm_53 -ffast-math" } */ +/* { dg-options "-O2 -ffast-math -misa=sm_53 -mptx=_" } */ _Float16 a; _Float16 b; diff --git a/gcc/testsuite/gcc.target/nvptx/float16-6.c b/gcc/testsuite/gcc.target/nvptx/float16-6.c index 4889577f7f6..9ca714ca76f 100644 --- a/gcc/testsuite/gcc.target/nvptx/float16-6.c +++ b/gcc/testsuite/gcc.target/nvptx/float16-6.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -misa=sm_53" } */ +/* { dg-options "-O2 -misa=sm_53 -mptx=_" } */ _Float16 x; _Float16 y; diff --git a/gcc/testsuite/gcc.target/nvptx/tanh-1.c b/gcc/testsuite/gcc.target/nvptx/tanh-1.c index 946b8c1ad4b..534846cd62d 100644 --- a/gcc/testsuite/gcc.target/nvptx/tanh-1.c +++ b/gcc/testsuite/gcc.target/nvptx/tanh-1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -ffast-math -misa=sm_75" } */ +/* { dg-options "-O2 -ffast-math -misa=sm_75 -mptx=_" } */ float foo(float x) { diff --git a/gcc/testsuite/gcc.target/nvptx/uniform-simt-1.c b/gcc/testsuite/gcc.target/nvptx/uniform-simt-1.c index 77cffc40a66..fc225764e6b 100644 --- a/gcc/testsuite/gcc.target/nvptx/uniform-simt-1.c +++ b/gcc/testsuite/gcc.target/nvptx/uniform-simt-1.c @@ -1,4 +1,4 @@ -/* { dg-options "-O2 -muniform-simt" } */ +/* { dg-options "-O2 -muniform-simt -misa=sm_70 -mptx=_" } */ enum memmodel { diff --git a/gcc/testsuite/gcc.target/nvptx/uniform-simt-3.c b/gcc/testsuite/gcc.target/nvptx/uniform-simt-3.c index b61b8ba9d5b..f539cd3cafc 100644 --- a/gcc/testsuite/gcc.target/nvptx/uniform-simt-3.c +++ b/gcc/testsuite/gcc.target/nvptx/uniform-simt-3.c @@ -1,4 +1,4 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -muniform-simt -misa=sm_70" } */ +/* { dg-options "-O2 -muniform-simt -misa=sm_70 -mptx=_" } */ #include "atomic-store-2.c"