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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [mipscop-3.c] - Blame information for rev 247

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile { target mips*-*-* } } */
2
 
3
#ifndef __mips16
4
register unsigned int c3r1 asm ("$c3r1"), c3r2 asm ("$c3r2");
5
 
6
extern unsigned int b, c;
7
 
8
void
9
foo ()
10
{
11
  unsigned int a, d;
12
 
13
  c3r1 = a;
14
  b = c3r1;
15
 
16
  c3r2 = c;
17
  d = c3r1;
18
  printf ("%d\n", d);
19
}
20
#endif

powered by: WebSVN 2.1.0

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