From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2546 invoked by alias); 15 May 2003 19:05:44 -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 2519 invoked from network); 15 May 2003 19:05:43 -0000 Received: from unknown (HELO toenail.toronto.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 15 May 2003 19:05:43 -0000 Received: from toenail.toronto.redhat.com (localhost [127.0.0.1]) by toenail.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id h4FJ5gir007824; Thu, 15 May 2003 15:05:42 -0400 Received: (from fche@localhost) by toenail.toronto.redhat.com (8.12.8/8.12.8/Submit) id h4FJ5dYU007820; Thu, 15 May 2003 15:05:39 -0400 X-Authentication-Warning: toenail.toronto.redhat.com: fche set sender to fche@redhat.com using -f To: Michael Meissner Cc: cgen@sources.redhat.com Subject: Re: What is the state of cgen for architectures like the IA-64? References: <20030515013013.GA1220@tiktok.the-meissners.org> From: fche@redhat.com (Frank Ch. Eigler) Date: Thu, 15 May 2003 19:05:00 -0000 In-Reply-To: <20030515013013.GA1220@tiktok.the-meissners.org> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q2/txt/msg00047.txt.bz2 Hi, Mike - > I'm doing a port for a new machine that has instruction encoding where > instructions are logically of the format: > |A |B | > The instructions are then packed into a field of the form: > |C |B1 |B2 |B3 | > where C is an encoding for A1, A2, and A3. [...] > So is cgen currently up to handling such an architecture without significant > hacking? [...] I don't think you'll find much direct support for this. However, there are enough C hooks available to insert your own instruction packing/unpacking routines into the opcodes or simulator. With such routines around the cgen-generated kernel, the job is reduced to modelling only the logical format of the instructions in cgen. - FChE