This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: C-style assembly
- From: Shehryar Humayun <shehryarhumayunkhan at yahoo dot com>
- To: Doug Evans <dje at transmeta dot com>
- Cc: cgen at sources dot redhat dot com
- Date: Sun, 8 Sep 2002 10:13:22 -0700 (PDT)
- Subject: Re: C-style assembly
Dear Sir,
You mentioned that
> No effort has been put into supporting C style
> assembly language.
Is this due to lack of expression in RTL or is it the
cgen implementation that has been constrained with
supporting only a specific assembly syntax (i.e.
mnemonic opr1, opr2)?
Correct me if I am wrong, I am asking this because I
think that if the cause is lack of RTL's expression,
then the escape hatch of emitting c-code in .cpu files
can be used; and if the cgen's implementation is a
constraint, then the .scm files can be manipulated to
understand c-code, right?
> If you want to use cgen's assembler support,
> I suggest writing the .cpu using "normal" assembly
> syntax and
> write a separate program(/library) that converts
> C-style to normal-style.
Thanks for the guidance.
Regards
Shehryar
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com