Code optimization <LEA Instruction>
Alan Cox
alan en lxorguk.ukuu.org.uk
Vie Ene 28 13:20:11 CST 2000
> The test shows that LEA should not be arbitrarily used for arithmetic on
> an index register. It clearly shows that addition is faster.
Arbitarily no, general case it should be.
> It was written to demonstrate this. It demonstrates this. Alan assumed
You wrote a demo for AGI generation stalls not for lea performance when
compiler scheduled. Most x86 chips have a single AGI generator so you
just stalled your cpu a lot.
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
Más información sobre la lista de distribución Ayuda