OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.dg/] [tree-ssa/] [pr23948.C] - Diff between revs 301 and 384

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

Rev 301 Rev 384
/* { dg-options "-O1 -ffast-math -fdump-tree-recip" } */
/* { dg-options "-O1 -ffast-math -fdump-tree-recip" } */
/* { dg-do compile } */
/* { dg-do compile } */
struct MIOFILE {
struct MIOFILE {
  ~MIOFILE();
  ~MIOFILE();
};
};
double potentially_runnable_resource_share();
double potentially_runnable_resource_share();
void f1(double);
void f1(double);
int make_scheduler_request(double a, double b)
int make_scheduler_request(double a, double b)
{
{
  MIOFILE mf;
  MIOFILE mf;
  double prrs = potentially_runnable_resource_share();
  double prrs = potentially_runnable_resource_share();
  f1(a/prrs);
  f1(a/prrs);
  f1(1/prrs);
  f1(1/prrs);
  f1(b/prrs);
  f1(b/prrs);
}
}
/* { dg-final { scan-tree-dump-times " / " 1 "recip" } } */
/* { dg-final { scan-tree-dump-times " / " 1 "recip" } } */
/* { dg-final { cleanup-tree-dump "recip" } } */
/* { dg-final { cleanup-tree-dump "recip" } } */
 
 

powered by: WebSVN 2.1.0

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