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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [x86_64/] [abi/] [callabi/] [func-2b.c] - Rev 801

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

/* Test for cross x86_64<->w64 abi standard calls.  */
/* { dg-options "-mabi=ms -std=gnu99 -ffast-math -fno-builtin" } */
 
long double func_cross (long double a, double b, float c, long d, int e,
			char f)
{
  long double ret;
  ret = a + (long double) b + (long double) c;
  ret *= (long double) (d + (long) e);
  if (f>0)
    ret += func_cross (a,b,c,d,e,-f);
  return ret;
}
 

Go to most recent revision | 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.