blob: 7238fe2f281e56cafb71a28a5b75c2343c229114 [file] [log] [blame]
/* Test cases for Loongson EXT2 instructions. */
/* { dg-do compile } */
/* { dg-options "-mloongson-ext2" } */
unsigned int foo(unsigned int x)
{
return __builtin_ctz (x);
}
/* { dg-final { scan-assembler "ctz\t" } } */