supporting mixed 16/32-bit ISA's
Peter.Targett@arccores.com
Peter.Targett@arccores.com
Tue Jan 22 08:56:00 GMT 2002
> > I'm particularly interested in CGEN's ability to describe mixed 16/32
> > bit ISA's. We have a new ISA at ARC which has a truely intermixed
> > 16/32 instruction set - basically, can I describe the ISA in CGEN?
>
> > The 32-bit instructions (and long immediates that can form part of an
> > instruction) are actually stored half-word endianized.
>
> I'm not sure what you mean by "half-word endianized". Please clarify.
So the following pretend 32-bit instruction opcode "0x12345678" is stored:
little-endian -> 34127856
big-endian -> 12345678
> I did a 16/32 port last year, though unfortunately it's proprietary,
> so it's not in the public repo.
Thanks for the snippets - I will investigate these.
Peter.
More information about the Cgen
mailing list