Copyright (C) 1992 Al Aburto <aburto@nosc.mil>
Copyright (C) 2000 Marc O. Gloor <marc_dot_gloor_at_u_dot_nus_dot_edu>
Benchmark modified for linux by Marc O. Gloor
Flops.c is a 'c' program which
attempts to estimate your systems floating-point 'MFLOPS' rating for
the FADD, FSUB, FMUL, and FDIV operations based on specific
'instruction mixes' (discussed below). The program provides an estimate
of PEAK MFLOPS performance by making maximal use of register variables
with minimal interaction with main memory. The execution loops are all
small so that they will fit in any cache. Flops.c can be used along
with Linpack and the Livermore kernels (which exersize memory much more
extensively) to gain further insight into the limits of system
performance. The flops.c execution modules also include various percent
weightings of FDIV's (from 0% to 25% FDIV's) so that the range of
performance can be obtained when using FDIV's. FDIV's, being
computationally more intensive than FADD's or FMUL's, can impact
performance considerably on some systems.
$Id: floatingpoint.html,v 1.14 2020/11/21 11:13:30 gloor Exp $ |