This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
contemplating CGEN for VLIW architecture
- From: Doug Evans <dje at transmeta dot com>
- To: Alan Lehotsky <apl at alum dot mit dot edu>
- Cc: cgen at sources dot redhat dot com
- Date: Wed, 20 Feb 2002 09:18:06 -0800 (PST)
- Subject: contemplating CGEN for VLIW architecture
- References: <p04330100b89964fb3501@[192.168.1.254]>
Alan Lehotsky writes:
> I guess I'm also wondering if I can build an assembler that looks more like an expression language,
> viz something like
>
>
> REGA = REGB + REGC, if R7 > R8 jump FAIL, REGZ=0x100;
>
> where commas separate the various micro-ops, and the expressions are from the minimal set of + - ^ | &
> separated by white space, etc.
>
> Or is gas ONLY going to work with a traditional
>
> OPCODE OPERANDS,....
>
> style?
Maybe write a separate language that converts one to the other?
Support "if R7 > R8 jump FAIL" on top,
and pass the result to gas which recognizes the "opcode operands,..." style.