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: field-start and varying word sizes


fche@redhat.com (Frank Ch. Eigler) writes:

> geoffk wrote:
> 
> : [...]
> : I can see why someone might try to write this, but it can't work.  It
> : needs to know, as well as lsb0?, the endianess of the CPU.
> : [...]
> : In this case, the right thing to do is to just return
> : (bitrange-start bitrange)
> : [...]
> : 2001-07-03  Geoffrey Keating  <geoffk@redhat.com>
> : 
> : 	* ifield.scm (<ifield> 'field-start): Don't look at word-len.
> : [...]
> 
> 
> Unfortunately this whole area of cgen (and the opcodes/ run-time) is
> so messy that even an obvious looking change is untrustworthy.  One
> has to test a whole slew of different targets for confidence -- have
> you done that?

No, only the target I'm working on.

Which targets would you suggest?  I'm quite happy to configure & build
a bunch of targets with and without the patch.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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