This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: field-start and varying word sizes
- To: fche at redhat dot com (Frank Ch. Eigler)
- Subject: Re: field-start and varying word sizes
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: 03 Jul 2001 15:26:52 -0700
- CC: cgen at sources dot redhat dot com
- References: <200107032054.NAA01495.cygnus.local.cgen@geoffk.org> <o5wv5pzoy1.fsf.cygnus.local.cgen@toenail.toronto.redhat.com>
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>