From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29446 invoked by alias); 20 Feb 2002 17:18:21 -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 29372 invoked from network); 20 Feb 2002 17:18:20 -0000 Received: from unknown (HELO neon-gw.transmeta.com) (63.209.4.196) by sources.redhat.com with SMTP; 20 Feb 2002 17:18:20 -0000 Received: (from root@localhost) by neon-gw.transmeta.com (8.9.3/8.9.3) id JAA09203; Wed, 20 Feb 2002 09:18:17 -0800 Received: from mailhost.transmeta.com(10.1.1.15) by neon-gw.transmeta.com via smap (V2.1) id xma009193; Wed, 20 Feb 02 09:18:04 -0800 Received: from casey.transmeta.com (casey.transmeta.com [10.10.25.22]) by deepthought.transmeta.com (8.11.6/8.11.6) with ESMTP id g1KHI6720673; Wed, 20 Feb 2002 09:18:06 -0800 (PST) Received: (from dje@localhost) by casey.transmeta.com (8.9.3/8.7.3) id JAA07120; Wed, 20 Feb 2002 09:18:06 -0800 From: Doug Evans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15475.55886.238854.822286@casey.transmeta.com> Date: Wed, 20 Feb 2002 09:18:00 -0000 To: Alan Lehotsky Cc: cgen@sources.redhat.com Subject: contemplating CGEN for VLIW architecture In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid X-SW-Source: 2002-q1/txt/msg00056.txt.bz2 Alan Lehotsky writes: > I guess I'm also wondering if I can build an assembler that looks more like an expression language, > viz something like > > > REGA = REGB + REGC, if R7 > R8 jump FAIL, REGZ=0x100; > > where commas separate the various micro-ops, and the expressions are from the minimal set of + - ^ | & > separated by white space, etc. > > Or is gas ONLY going to work with a traditional > > OPCODE OPERANDS,.... > > style? Maybe write a separate language that converts one to the other? Support "if R7 > R8 jump FAIL" on top, and pass the result to gas which recognizes the "opcode operands,..." style.