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

Subversion Repositories openrisc_me

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

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

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

powered by: WebSVN 2.1.0

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