Port-pmax archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: DECstation 2100 floating point
> I tried turning off each option individually and still got 'inf'
> results. I then tried turning them all off, and still got an 'inf'
> result. The GCC man page says "only optimizations that have a flag are
> listed" so I guess it's one of the unlisted ones that's causing the
> problem.
I tried pkgsrc/benchmark/flops on NetBSD/cobalt 5.99.44 and
it shows a bit strange result:
---
# ./flops
FLOPS C Program (Double Precision), V2.0 18 Dec 1992
Module Error RunTime MFLOPS
(usec)
1 -2.5193e+01 0.4895 28.5980
2 nan -0.0000 -4226415.0942
3 1.4544e-14 33.3001 0.5105
4 1.6415e+09 31.9524 0.4694
5 1.8627e+17 69.2567 0.4187
6 -1.1475e+87 40.3928 0.7179
7 5.1090e+02 54.9010 0.2186
8 -2.9167e-01 0.0000 33103448.4122
Iterations = -640000
NullTime (usec) = 0.0000
MFLOPS(1) = 1.5616
MFLOPS(2) = 0.3848
MFLOPS(3) = 0.6340
MFLOPS(4) = 0.8614
---
flops.c itself might have some non-C99-compliant statements
and aggressive gcc4 generates unintended code?
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index