From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19390 invoked by alias); 24 Jun 2002 15:24:17 -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 19377 invoked from network); 24 Jun 2002 15:24:15 -0000 Received: from unknown (HELO krynn.axis.se) (193.13.178.10) by sources.redhat.com with SMTP; 24 Jun 2002 15:24:15 -0000 Received: from ignucius.axis.se (root@ignucius.axis.se [10.13.1.18]) by krynn.axis.se (8.12.2/8.12.2/Debian -5) with ESMTP id g5OFODS3020295; Mon, 24 Jun 2002 17:24:13 +0200 Received: (from hp@localhost) by ignucius.axis.se (8.9.3/8.9.3/Debian 8.9.3-21) id RAA08494; Mon, 24 Jun 2002 17:24:12 +0200 Date: Mon, 24 Jun 2002 08:24:00 -0000 Message-Id: <200206241524.RAA08494@ignucius.axis.se> From: Hans-Peter Nilsson To: dje@transmeta.com CC: hans-peter.nilsson@axis.com, cgen@sources.redhat.com In-reply-to: <15632.51166.158258.170560@casey.transmeta.com> (message from Doug Evans on Wed, 19 Jun 2002 11:05:18 -0700 (PDT)) Subject: Re: [RFA:] Fix lsb? bug with insn fields beyond base insn size. X-SW-Source: 2002-q2/txt/msg00038.txt.bz2 > From: Doug Evans > Date: Wed, 19 Jun 2002 11:05:18 -0700 (PDT) > Hans-Peter Nilsson writes: > > This is a partial fix for what seems like a central problem: > > bitfields are expressed as (start length) but whether "start" is > > highest or lowest bit-number depends on "lsb0?". > One alternative is to do the canonicalization at .cpu reading time, > but that can also lead to confusion (causing people to revisit > the issue again). I'm mostly worried about bugs similar to those I found, with the *internal* representation different for different "lsb?". Though having the "external" (.cpu) representation different is supposedly confusing more people than not (assuming that CGEN attracts a larger audience than the current. ;-) brgds, H-P