OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [mt-loopi1.c] - Blame information for rev 645

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile { target mt-*-* } } */
2
/* { dg-options "-O2 -march=ms2" } */
3
/* { dg-final { scan-assembler "\tloopi " } } */
4
 
5
/* Make sure we generate loopi */
6
 
7
void Const (volatile int *ptr)
8
{
9
  int i;
10
 
11
  for (i = 0; i != 10; i++)
12
    *ptr;
13
}

powered by: WebSVN 2.1.0

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