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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [darwin-fpmath.c] - Diff between revs 318 and 338

Only display areas with differences | Details | Blame | View Log

Rev 318 Rev 338
/* { dg-do compile { target i?86-*-darwin* } } */
/* { dg-do compile { target i?86-*-darwin* } } */
/* { dg-final { scan-assembler "addsd" } } */
/* { dg-final { scan-assembler "addsd" } } */
/* Do not add -msse or -msse2 or -mfpmath=sse to the options.  GCC is
/* Do not add -msse or -msse2 or -mfpmath=sse to the options.  GCC is
   supposed to use SSE math on Darwin by default, and libm won't work
   supposed to use SSE math on Darwin by default, and libm won't work
   right if it doesn't.  */
   right if it doesn't.  */
double foo(double x, double y)
double foo(double x, double y)
{
{
  return x + y;
  return x + y;
}
}
 
 

powered by: WebSVN 2.1.0

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