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]

Re: multiple isa support


Hi -

On Thu, Nov 23, 2000 at 11:08:56AM +1100, Ben Elliston wrote:
:    I'm guessing the way to go is to have a separate #include for each decoder.
: 
: Right -- that would make sense.  Do we really need to emit a decoder for
: each *isa* rather than each CPU?

Well yes -- that's fundamentally what makes an ISA different from others!
(I suppose cgen could emit one decoder function that does a run-time check
and switches between several independent decoder ... but that would
penalize machines that know their current ISA choice ahead of time.)


- FChE

PGP signature


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