2007-05-23 H.J. Lu <hongjiu.lu@intel.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / xchg-1.c
blob464417b607e9b7d75850fcf0d16dd033af0c5492
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -march=k8" } */
4 unsigned short good(unsigned short a)
6 return (a >> 8 | a << 8);
9 /* { dg-final { scan-assembler "rol" } } */