This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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