linpack with egcs-19981019

Toshiyasu Morita tm@netcom.com
Mon Oct 19 15:37:00 GMT 1998


snapshot: egcs-19981019
    host: i386-linux
    file: ftp://shell14.ba.best.com/pub.t/tm2/linpackc.c
 options: -O2 -S -DROLL -DSP -DUNIX

Looks like egcs-19981019 is doing worse than egcs-19981006; it does
a read-modify-write cycle to a memory location in the second loop
of daxpy():

.L233:
        fld %st(0)
        movl -4(%ebp),%eax
        movl 16(%ebp),%edi
        fmuls (%edi,%eax,4)
        fadds (%esi,%eax,4)
        incl -4(%ebp)		<- ouch
        fstps (%esi,%eax,4)
        cmpl %ebx,-4(%ebp)
        jl .L233


Toshi




More information about the Gcc-bugs mailing list