1 /* { dg-options "isa_rev>=2 -mgp64" } */
2 
3 typedef unsigned long long uint64_t;
4 
5 NOMIPS16 uint64_t
foo(uint64_t x)6 foo (uint64_t x)
7 {
8   return __builtin_bswap64 (x);
9 }
10 
11 /* { dg-final { scan-assembler "\tdsbh\t" } } */
12 /* { dg-final { scan-assembler "\tdshd\t" } } */
13