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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [forwprop-14.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-optimized" } */
3
 
4
unsigned int
5
foo (unsigned int eax)
6
{
7
  eax |= 4;
8
  eax &= 247;
9
  eax |= 16;
10
  eax &= 223;
11
  eax |= 64;
12
  eax &= 127;
13
  return eax;
14
}
15
 
16
/* { dg-final { scan-tree-dump-times " & " 1 "optimized" } } */
17
/* { dg-final { scan-tree-dump-times " \\\| " 1 "optimized" } } */
18
/* { dg-final { cleanup-tree-dump "optimized" } } */

powered by: WebSVN 2.1.0

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