Debian Codegraph @

gcc/testsuite/gcc.target/nvptx/brev-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* { dg-final { check-function-bodies {**} {} } } */
4
5 unsigned int foo(unsigned int x)
6 {
7 return __builtin_nvptx_brev(x);
8 }
9 /*
10 ** foo:
11 ** ...
12 ** mov\.u32 (%r[0-9]+), %ar0;
13 ** brev\.b32 %value, \1;
14 ** st\.param\.u32 \[%value_out\], %value;
15 ** ret;
16 */