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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [20050830-1.c] - Blame information for rev 859

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 322 jeremybenn
/* Make sure the doloop optimization is done for this loop. */
2
/* { dg-do compile { target powerpc*-*-* } } */
3
/* { dg-options "-O2" } */
4
/* { dg-final { scan-assembler "bdn" } } */
5
extern int a[];
6
int foo(int w) {
7
  int n = w;
8
  while (n >= 512)
9
    {
10
    a[n] = 42;
11
    n -= 256;
12
    }
13
  }

powered by: WebSVN 2.1.0

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