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