Debian Codegraph @

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

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