URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [cris/] [builtin_bswap_v3.c] - Rev 323
Go to most recent revision | Compare with Previous | Blame | View Log
/* Check that we don't use the swap insn for bswap by checking assembler output. The swap instruction was added in v8. */ /* { dg-do compile } */ /* { dg-skip-if "" { "cris*-*-elf" } { "-march*" } { "" } } */ /* { dg-options "-O2 -march=v3" } */ /* { dg-final { scan-assembler-not "\[ \t\]swapwb\[ \t\]" } } */ int f (int a) { return __builtin_bswap32(a); }
Go to most recent revision | Compare with Previous | Blame | View Log