OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [rotate-2.c] - Rev 691

Compare with Previous | Blame | View Log

/* { dg-do compile { target { ! { ia32 } } } } */
/* { dg-options "-O2" } */
 
typedef unsigned int UTItype __attribute__ ((mode (TI)));
 
void foo (UTItype *);
 
UTItype
test (void)
{
  UTItype c = 0;
  foo (&c);
  c = c >> 5 | c << 123;
  return c;
}
/* { dg-final { scan-assembler-times "shrdq" 2 } } */
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.