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