From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16018 invoked by alias); 10 Dec 2002 17:33:32 -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 15833 invoked from network); 10 Dec 2002 17:32:11 -0000 Received: from unknown (HELO neon-gw.transmeta.com) (63.209.4.196) by sources.redhat.com with SMTP; 10 Dec 2002 17:32:11 -0000 Received: (from root@localhost) by neon-gw.transmeta.com (8.9.3/8.9.3) id JAA17657; Tue, 10 Dec 2002 09:32:07 -0800 Received: from mailhost.transmeta.com(10.1.1.15) by neon-gw.transmeta.com via smap (V2.1) id xma017626; Tue, 10 Dec 02 09:32:02 -0800 Received: from xris-athlon.transmeta.com (xris-athlon.transmeta.com [10.10.25.96]) by deepthought.transmeta.com (8.11.6/8.11.6) with ESMTP id gBAHW4R12291; Tue, 10 Dec 2002 09:32:05 -0800 (PST) Received: (from dje@localhost) by xris-athlon.transmeta.com (8.9.3/8.7.3) id JAA19755; Tue, 10 Dec 2002 09:32:04 -0800 From: Doug Evans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15862.9492.864974.265990@xris-athlon.transmeta.com> Date: Tue, 10 Dec 2002 09:33:00 -0000 To: Johan Rydberg Cc: Subject: make CGEN a less moving target? In-Reply-To: References: X-SW-Source: 2002-q4/txt/msg00064.txt.bz2 Johan Rydberg writes: > From what I've seen it seems that CGEN have matured to the point > where it maybe is time to write a list of what should be included > in a CPU description, and where. Maybe list all keywords and such. That's a good idea. > The reason for this is that maybe someone would like to write a parser > for .cpu-files, and not use the Scheme-sources provided by Red Hat, Inc. > > (define-insn ...) and similar seems pretty "stable", but there seem > to be a lot of confusion regarding the (define-isa ...) fields. Off the top of my head, there are at least 3 big things still to be done. - The model description needs a complete rewrite. This has always been planned. What's there now is a quick hack to get something to play with. - I've always wanted to be able to handle the x86 ISA better. [and ciscy isa's in general] - Support for compilers. While supporting gcc is a nice pie-in-the-sky-ish idea, there are other forms of compilers that cgen should be able to support (e.g. dynamic compilers). While I can understand someone wanting a parser written in C[/C++], I always thought forcing people to learn Scheme was a good thing! :-) Or are there other reasons for wanting to write your own parser?