[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rep:Re: [f-cpu] new langage ?



hi,

Michael Riepe wrote:
> On Sat, Apr 20, 2002 at 05:10:16AM +0200, cedric wrote:
> [...]
> > So you really want to create your own compiler, you now that gcc actually does
> > all what we need ? It scan/parse the code, then generate a abstract syntax
> > tree and then use the back end specification to translate this tree into asm
> > for this specific architecture.
> >       And this translation can do some optimisation. If you want more about gcc
> > backend I think it's chapter 20 of its documentation.
> 
> I've still got a printed copy of the gcc 1.3x manual somewhere...
> 
> But I don't think that gcc `does all we need'. I've run benchmarks
> (including SPEC CPU95 and CPU2000) on Intel, Athlon, Alpha, PowerPC,
> PA-RISC and SPARC (did I miss any?) -- believe me, I *know* how bad
> gcc-generated code performs.

then, i guess that using GCC as a "simple" front-end is reasonable ...

GCC groks the code, the backend (as Jürgen evokes) will do the rest.

i don't see a problem here.

>  Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
WHYGEE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/