Debian Codegraph @

gcc/testsuite/gcc.target/nvptx/march-map=sm_53.c

raw
1 /* { dg-do assemble } */
2 /* { dg-options {-march-map=sm_53 -mptx=_} } */
3 /* { dg-additional-options -save-temps } */
4 /* { dg-final { scan-assembler-times {(?n)^ \.version 7\.3$} 1 } } */
5 /* { dg-final { scan-assembler-times {(?n)^ \.target sm_53$} 1 } } */
6
7 #if __PTX_ISA_VERSION_MAJOR__ != 7
8 #error wrong value for __PTX_ISA_VERSION_MAJOR__
9 #endif
10
11 #if __PTX_ISA_VERSION_MINOR__ != 3
12 #error wrong value for __PTX_ISA_VERSION_MINOR__
13 #endif
14
15 #if __PTX_SM__ != 530
16 #error wrong value for __PTX_SM__
17 #endif
18
19 int dummy;