From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geoff Keating To: fche@redhat.com (Frank Ch. Eigler) Cc: cgen@sources.redhat.com Subject: Re: field-start and varying word sizes Date: Tue, 03 Jul 2001 15:12:00 -0000 Message-id: References: <200107032054.NAA01495.cygnus.local.cgen@geoffk.org> X-SW-Source: 2001-q3/msg00004.html 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 > : > : * ifield.scm ( '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