URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 318 |
Rev 338 |
/* { dg-do run { target *-*-linux* } } */
|
/* { dg-do run { target *-*-linux* } } */
|
/* { dg-require-effective-target ilp32 } */
|
/* { dg-require-effective-target ilp32 } */
|
/* { dg-require-effective-target sse2 } */
|
/* { dg-require-effective-target sse2 } */
|
/* { dg-options "-O2 -fomit-frame-pointer -msse2 -mpush-args -mno-accumulate-outgoing-args" } */
|
/* { dg-options "-O2 -fomit-frame-pointer -msse2 -mpush-args -mno-accumulate-outgoing-args" } */
|
|
|
#include "sse2-check.h"
|
#include "sse2-check.h"
|
|
|
void __attribute__((noinline))
|
void __attribute__((noinline))
|
f (__float128 a)
|
f (__float128 a)
|
{
|
{
|
if (a != 1.23Q)
|
if (a != 1.23Q)
|
abort ();
|
abort ();
|
}
|
}
|
|
|
int __attribute__((noinline))
|
int __attribute__((noinline))
|
g (__float128 b)
|
g (__float128 b)
|
{
|
{
|
f (b);
|
f (b);
|
return 0;
|
return 0;
|
}
|
}
|
|
|
static void
|
static void
|
sse2_test (void)
|
sse2_test (void)
|
{
|
{
|
g (1.23Q);
|
g (1.23Q);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.