URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* { 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;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.