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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr26778.c] - Rev 825

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

/* { dg-do compile { target ilp32 } } */
/* { dg-options "-O2 -march=pentium3" } */
 
typedef union {
  long long l;
  double d;
} db_number;
 
double test(double x[3]) {
  double th = x[1] + x[2];
  if (x[2] != th - x[1]) {
    db_number thdb;
    thdb.d = th;
    thdb.l++;
    th = thdb.d;
  }
  return x[0] + th;
}
 
/* { dg-final { scan-assembler-not "mov.ps" } } */
 

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

powered by: WebSVN 2.1.0

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