This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: stepanov on i686-pc-linux-gnu



> |> Sigh.  I'm so used to looking at Sparc assembly with the delayed
> |> branch.
> |> 
> |> Nevertheless, there are two memory accesses in the loop
> 
> No, there is only one.  'leal' only calculates the effective address,
> without any memory access.

Sigh.

Rather than embarrassing myself further, I ask someone who is familiar
with x86 assembly to compile the Stepanov benchmark with -O2 -S,
and compare the slow accumulate loops with the fast accumulate loops
and post an analysis of what's going wrong in the slow loops.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]