From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27397 invoked by alias); 18 Jun 2003 14:28:42 -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 27367 invoked from network); 18 Jun 2003 14:28:41 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.129.200.2) by sources.redhat.com with SMTP; 18 Jun 2003 14:28:41 -0000 Received: from toenail.toronto.redhat.com (toenail.toronto.redhat.com [172.16.14.211]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 2338C80001E; Wed, 18 Jun 2003 10:28:41 -0400 (EDT) Received: from toenail.toronto.redhat.com (IDENT:fche@localhost [127.0.0.1]) by toenail.toronto.redhat.com (8.12.8/8.12.5) with ESMTP id h5IESeoM029342; Wed, 18 Jun 2003 10:28:41 -0400 Received: (from fche@localhost) by toenail.toronto.redhat.com (8.12.8/8.12.8/Submit) id h5IESe1L029340; Wed, 18 Jun 2003 10:28:40 -0400 Date: Wed, 18 Jun 2003 14:28:00 -0000 From: "Frank Ch. Eigler" To: Doug Evans Cc: cgen@sources.redhat.com Subject: Re: sid thumb file generation error Message-ID: <20030618142839.GA29128@redhat.com> References: <20030618064201.23BA7B536@mail.sebabeach.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030618064201.23BA7B536@mail.sebabeach.org> User-Agent: Mutt/1.4.1i X-SW-Source: 2003-q2/txt/msg00117.txt.bz2 Hi - > Including file thumb.cpu ... > ERROR: ../../../../../src/sid/component/cgen-cpu/arm7t/../../../../cgen/cpu/thumb.cpu:46: define-ifield: ifield already defined:: > (f-op3) > [...] > For now, an easier fix is not flag an error for objects from disjoint isas. > I'll work on this tomorrow. A related problem was pointed out by a thumb sid user on the net a while ago: the sid decoders were confused by the different base-insn-size for arm vs thumb. I have been planning to fix it thusly: Index: mach.scm =================================================================== RCS file: /cvs/src/src/cgen/mach.scm,v retrieving revision 1.5 diff -u -p -r1.5 mach.scm --- mach.scm 10 Jun 2003 21:22:02 -0000 1.5 +++ mach.scm 18 Jun 2003 14:27:51 -0000 @@ -1358,9 +1358,12 @@ ; All selected isas must have same value or error. (define (state-base-insn-bitsize) - (let ((bib (map isa-base-insn-bitsize (current-isa-list)))) - ; FIXME: ensure all have same value. - (car bib)) + (if (with-multiple-isa?) + (let ((bib (map isa-base-insn-bitsize (current-isa-list)))) + (logit 4 "current-isa-list=" (map obj:name (current-isa-list)) " bits=" bib "\n") + ; FIXME: ensure all have same value. + (car bib)) + (isa-base-insn-bitsize (current-isa))) ) ; Return parallel-insns spec. - FChE