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/] [pr40906-3.c] - Diff between revs 318 and 338

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);
}
}
 
 

powered by: WebSVN 2.1.0

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