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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.target/] [ia64/] [fpreg-2.c] - Rev 12

Compare with Previous | Blame | View Log

/* Test __fpreg ABI.  */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do compile } */
/* { dg-options "" } */
/* { dg-final { scan-assembler "ldf.fill" } } */
/* { dg-final { scan-assembler "stf.spill" } } */
 
__fpreg x;
 
void f (void);
 
void
g (void)
{
  __fpreg b = x;
  f ();
  x = b;
}
 
char t1[(sizeof (__fpreg) == sizeof (__float80) ? 1 : -1)];
char t2[(__alignof (__fpreg) == __alignof (__float80) ? 1 : -1)];
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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