Code optimization <LEA Instruction>

Oliver Xymoron oxymoron en waste.org
Sab Ene 29 19:24:24 CST 2000


On Sat, 29 Jan 2000, Jamie Lokier wrote:

> H. Peter Anvin wrote:
> > Alan Cox wrote:
> > > New game - the Crusoe has to know about gcc instead, and I suspect it does
> > > 
> > 
> > Not directly, although Crusoe's optimizer does quite well on
> > gcc-generated code.  We didn't need to turn it into a big project,
> > because gcc's code seems to do just fine with the default optimization
> > heuristics.
> 
> Phew!  There was me thinking the best compiler for Crusoe would be
> permanently stuck at GCC 2.4 because anything else would be an imperfect
> match. :-)

If I understand correctly from the patents and white papers, most of the
instruction scheduling stuff and even some of the register allocation(?!)
becomes irrelevant with Crusoe. The stuff that's still important is
probably CSE, unrolling, and inlining, not to mention language-specific
stuff like aliasing optimizations. But a lot of the nasty arch-specific
stuff in the compiler gets pushed down to the translation layer..

--
 "Love the dolphins," she advised him. "Write by W.A.S.T.E.." 


-
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