This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What is the state of cgen for architectures like the IA-64?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]