OSDN Git Service

2010-12-30 Kai Tietz <kai.tietz@onevision.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / rotate-2.c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target lp64 } */
3 /* { dg-options "-O2" } */
4
5 typedef unsigned int UTItype __attribute__ ((mode (TI)));
6
7 void foo (UTItype *);
8
9 UTItype
10 test (void)
11 {
12   UTItype c = 0;
13   foo (&c);
14   c = c >> 5 | c << 123;
15   return c;
16 }
17 /* { dg-final { scan-assembler-times "shrdq" 2 } } */