blob: 480e1cd7cfc4d2716b2fb8c7f7d085a91acadc4a (
plain)
1
2
3
4
5
6
7
8
9
|
/* { 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); }
|