From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31601 invoked by alias); 31 Jul 2006 15:27:33 -0000 Received: (qmail 31591 invoked by uid 22791); 31 Jul 2006 15:27:32 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 31 Jul 2006 15:27:30 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k6VFRSwW001582; Mon, 31 Jul 2006 11:27:28 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k6VFRS7u019365; Mon, 31 Jul 2006 11:27:28 -0400 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id k6VFRRGi002077; Mon, 31 Jul 2006 11:27:28 -0400 Received: from ton.toronto.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id CACC7800002; Mon, 31 Jul 2006 11:27:27 -0400 (EDT) Received: from ton.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by ton.toronto.redhat.com (8.13.1/8.13.1) with ESMTP id k6VFRRCP018067; Mon, 31 Jul 2006 11:27:27 -0400 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id k6VFRRsU018066; Mon, 31 Jul 2006 11:27:27 -0400 Date: Mon, 31 Jul 2006 15:27:00 -0000 From: "Frank Ch. Eigler" To: Ronald Hecht Cc: cgen@sourceware.org Subject: Re: Simulator and 24 Bit instructions Message-ID: <20060731152727.GA10189@redhat.com> References: <44CDC354.9010502@uni-rostock.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44CDC354.9010502@uni-rostock.de> User-Agent: Mutt/1.4.1i X-IsSubscribed: yes Mailing-List: contact cgen-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sourceware.org X-SW-Source: 2006-q3/txt/msg00016.txt.bz2 Hi - > I'm having now problems with 24 Bit instructions in the simulator. > [...] > So 24 Bit instructions are a problem. I hacked > case 24 : insn_value = (T2H_4 (insn_buf.words[0]) / 256) & > 0x00ffffff; break; It would be more transparent to explicitly fetch three bytes. But why is base_length 24 rather than 8? It seems that you have come some way since the posting of your .cpu file last week. It may help to post your current version. - FChE