1 /* Test cases for Loongson EXT2 instructions. */
2
3 /* { dg-do compile } */
4 /* { dg-options "-mloongson-ext2" } */
5
6 unsigned int foo(unsigned int x)
7 {
8 return __builtin_ctz (x);
9 }
10
11 /* { dg-final { scan-assembler "ctz\t" } } */