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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [ia64/] [fpreg-2.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 691 jeremybenn
/* Test __fpreg ABI.  */
2
/* Origin: Joseph Myers <joseph@codesourcery.com> */
3
/* { dg-do compile } */
4
/* { dg-options "" } */
5
/* { dg-final { scan-assembler "ldf.fill" } } */
6
/* { dg-final { scan-assembler "stf.spill" } } */
7
 
8
__fpreg x;
9
 
10
void f (void);
11
 
12
void
13
g (void)
14
{
15
  __fpreg b = x;
16
  f ();
17
  x = b;
18
}
19
 
20
char t1[(sizeof (__fpreg) == sizeof (__float80) ? 1 : -1)];
21
char t2[(__alignof (__fpreg) == __alignof (__float80) ? 1 : -1)];

powered by: WebSVN 2.1.0

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