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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [20050603-3.c] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* { dg-do compile { target "powerpc-*-*" } } */
2
/* { dg-options "-O2" } */
3
struct Q
4
{
5
  long x:20;
6
  long y:4;
7
  long z:8;
8
}b;
9
/* This should generate a single rl[w]imi. */
10
void rotins (unsigned int x)
11
{
12
  b.y = (x<<12) | (x>>20);
13
}
14
 
15
/* { dg-final { scan-assembler-not "inm" } } */

powered by: WebSVN 2.1.0

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