[LLVMbugs] [Bug 10893] New: aermod.f90 Polyhedron 2005 benchmark miscompiled with -msse4 -ffast-math -funroll-loops -O3 -fplugin-arg-dragonegg-enable-gcc-optzns

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 8 08:51:01 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10893

           Summary: aermod.f90 Polyhedron 2005 benchmark miscompiled with
                    -msse4 -ffast-math -funroll-loops -O3
                    -fplugin-arg-dragonegg-enable-gcc-optzns
           Product: dragonegg
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: New Bugs
        AssignedTo: baldrick at free.fr
        ReportedBy: howarth at nitro.med.uc.edu
                CC: llvmbugs at cs.uiuc.edu


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

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list