URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr42589.c] - Rev 318
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ /* { dg-options "-O2 -march=i486" } */ void foo (unsigned long long *p) { unsigned long long tmp; tmp = *p; tmp = (tmp >> 32) | (tmp << 32); tmp = (((tmp & 0xff00ff00ff00ff00ULL) >> 8) | ((tmp & 71777214294589695ULL) << 8)); *p = (((tmp & 0xffff0000ffff0000ULL) >> 16) | ((tmp & 281470681808895ULL) << 16)); } /* { dg-final { scan-assembler-times "bswap" 2 } } */