contemplating CGEN for VLIW architecture
Doug Evans
dje@transmeta.com
Wed Feb 20 09:18:00 GMT 2002
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.
More information about the Cgen
mailing list