From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27168 invoked by alias); 8 Sep 2002 17:13:24 -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 27161 invoked from network); 8 Sep 2002 17:13:22 -0000 Received: from unknown (HELO web21210.mail.yahoo.com) (216.136.175.253) by sources.redhat.com with SMTP; 8 Sep 2002 17:13:22 -0000 Message-ID: <20020908171322.37725.qmail@web21210.mail.yahoo.com> Received: from [202.165.233.144] by web21210.mail.yahoo.com via HTTP; Sun, 08 Sep 2002 10:13:22 PDT Date: Sun, 08 Sep 2002 10:13:00 -0000 From: Shehryar Humayun Subject: Re: C-style assembly To: Doug Evans Cc: cgen@sources.redhat.com In-Reply-To: <15738.51201.76375.295958@casey.transmeta.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-q3/txt/msg00068.txt.bz2 Dear Sir, You mentioned that > No effort has been put into supporting C style > assembly language. Is this due to lack of expression in RTL or is it the cgen implementation that has been constrained with supporting only a specific assembly syntax (i.e. mnemonic opr1, opr2)? Correct me if I am wrong, I am asking this because I think that if the cause is lack of RTL's expression, then the escape hatch of emitting c-code in .cpu files can be used; and if the cgen's implementation is a constraint, then the .scm files can be manipulated to understand c-code, right? > If you want to use cgen's assembler support, > I suggest writing the .cpu using "normal" assembly > syntax and > write a separate program(/library) that converts > C-style to normal-style. Thanks for the guidance. Regards Shehryar __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com