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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [x86_64/] [abi/] [callabi/] [func-2b.c] - Blame information for rev 328

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

Line No. Rev Author Line
1 328 jeremybenn
/* Test for cross x86_64<->w64 abi standard calls.  */
2
/* { dg-options "-mabi=ms -std=gnu99 -ffast-math -fno-builtin" } */
3
 
4
long double func_cross (long double a, double b, float c, long d, int e,
5
                        char f)
6
{
7
  long double ret;
8
  ret = a + (long double) b + (long double) c;
9
  ret *= (long double) (d + (long) e);
10
  if (f>0)
11
    ret += func_cross (a,b,c,d,e,-f);
12
  return ret;
13
}

powered by: WebSVN 2.1.0

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