URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [bswap64-1.c] - Rev 859
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-options "-O2 -mno-popcntd -mcpu=power5" } */ /* { dg-require-effective-target lp64 } */ /* { dg-final { scan-assembler "lwbrx" } } */ /* { dg-final { scan-assembler "stwbrx" } } */ unsigned long ul; unsigned long load_bswap64 (unsigned long *p) { return __builtin_bswap64 (*p); } void store_bswap64 (unsigned long a) { ul = __builtin_bswap64 (a); }
Go to most recent revision | Compare with Previous | Blame | View Log