URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [cris/] [builtin_ctz_v8.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* Check that we use the swap insn for ctz by checking assembler output. The swap instruction was implemented in v8. */ /* { dg-do compile } */ /* { dg-skip-if "" { "cris*-*-elf" } { "-march*" } { "" } } */ /* { dg-options "-O2 -march=v8" } */ /* { dg-final { scan-assembler "\[ \t\]swapwbr\[ \t\]" } } */ int f (int a) { return __builtin_ctz(a); }
Go to most recent revision | Compare with Previous | Blame | View Log