What is the state of cgen for architectures like the IA-64?
Frank Ch. Eigler
fche@redhat.com
Thu May 15 19:05:00 GMT 2003
Hi, Mike -
> I'm doing a port for a new machine that has instruction encoding where
> instructions are logically of the format:
> |A |B |
> The instructions are then packed into a field of the form:
> |C |B1 |B2 |B3 |
> where C is an encoding for A1, A2, and A3. [...]
> So is cgen currently up to handling such an architecture without significant
> hacking? [...]
I don't think you'll find much direct support for this. However,
there are enough C hooks available to insert your own instruction
packing/unpacking routines into the opcodes or simulator. With such
routines around the cgen-generated kernel, the job is reduced to
modelling only the logical format of the instructions in cgen.
- FChE
More information about the Cgen
mailing list