Skip to content

aermod.f90 Polyhedron 2005 benchmark miscompiled with -msse4 -ffast-math -funroll-loops -O3 -fplugin-arg-dragonegg-enable-gcc-optzns #11265

@llvmbot

Description

@llvmbot
Bugzilla Link 10893
Resolution FIXED
Resolved on Sep 24, 2011 06:39
Version trunk
OS MacOS X
Reporter LLVM Bugzilla Contributor

Extended Description

At r139290, when the aermod.f90 Polyhedron 2005 benchmark is compiled with...

/sw/lib/gcc4.6/bin/gfortran -fplugin=/sw/lib/gcc4.6/lib/dragonegg.so -msse4 -ffast-math -funroll-loops -O3 -fplugin-arg-dragonegg-enable-gcc-optzns aermod.f90 -o aermod

the benchmark shows a runtime speed regression...

Benchmark Compile Executable Ave Run Number Estim
Name (secs) (bytes) (secs) Repeats Err %


  aermod     24.28     1095232     29.27       1100.0000

compared to without -fplugin-arg-dragonegg-enable-gcc-optzns

  aermod     20.14     1039824     16.54       1100.0000

and produces failures during the benchmark run...

Value= 2195.3913600 Target= 2191.1145000 Tolerance=0.10000000000E-02
FAIL <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Value= 34310.417970 Target= 34310.421880 Tolerance=0.30000000000E-01
Value= 4260.9482400 Target= 4260.9716800 Tolerance=0.50000000000E-01
Value= 37060.945310 Target= 37094.375000 Tolerance=0.20000000000E-01
FAIL <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Value= 7937.5170900 Target= 7924.8842800 Tolerance=0.30000000000E-01
FAIL <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Value= 37060.945310 Target= 37094.375000 Tolerance= 1.0000000000
FAIL <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

aermod FAILED 4 fails and 2 passes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions