This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: What is the state of cgen for architectures like the IA-64?
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Michael Meissner <cgen-mail at the-meissners dot org>
- Cc: cgen at sources dot redhat dot com
- Date: 15 May 2003 15:05:38 -0400
- Subject: Re: What is the state of cgen for architectures like the IA-64?
- References: <20030515013013.GA1220@tiktok.the-meissners.org>
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