From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16387 invoked by alias); 24 Jun 2002 15:18:20 -0000 Mailing-List: contact cgen-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sources.redhat.com Received: (qmail 16380 invoked from network); 24 Jun 2002 15:18:20 -0000 Received: from unknown (HELO neon-gw.transmeta.com) (63.209.4.196) by sources.redhat.com with SMTP; 24 Jun 2002 15:18:20 -0000 Received: (from root@localhost) by neon-gw.transmeta.com (8.9.3/8.9.3) id IAA02595; Mon, 24 Jun 2002 08:18:17 -0700 Received: from mailhost.transmeta.com(10.1.1.15) by neon-gw.transmeta.com via smap (V2.1) id xma002568; Mon, 24 Jun 02 08:18:09 -0700 Received: from casey.transmeta.com (casey.transmeta.com [10.10.25.22]) by deepthought.transmeta.com (8.11.6/8.11.6) with ESMTP id g5OFIBj21177; Mon, 24 Jun 2002 08:18:11 -0700 (PDT) Received: (from dje@localhost) by casey.transmeta.com (8.9.3/8.7.3) id IAA09693; Mon, 24 Jun 2002 08:18:11 -0700 From: Doug Evans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15639.14387.11726.547375@casey.transmeta.com> Date: Mon, 24 Jun 2002 08:18:00 -0000 To: Hans-Peter Nilsson Cc: cgen@sources.redhat.com Subject: Re: [RFA:] Fix lsb? bug with insn fields beyond base insn size. In-Reply-To: <200206241511.RAA07347@ignucius.axis.se> References: <15635.37490.634021.373881@casey.transmeta.com> <200206241511.RAA07347@ignucius.axis.se> X-SW-Source: 2002-q2/txt/msg00037.txt.bz2 Hans-Peter Nilsson writes: > The highest bit-number minus the lowest bit-number is the > number of bits less one. Assuming one defines the field to be [low,high]. Another legitimate definition, within a localized context such as intermediates used to produce some final result, is [low,high). I'm sure there are other contexts where such a definition is legitimate. > If the field starts at bit 2 and ends > at bit 2 it's one bit long. Such a field can also be written, setting aside bit numbering issues, [2,3).