From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25198 invoked by alias); 8 Jan 2008 15:32:49 -0000 Received: (qmail 25174 invoked by uid 22791); 8 Jan 2008 15:32:37 -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; Tue, 08 Jan 2008 15:32:13 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m08FWCdd001193; Tue, 8 Jan 2008 10:32:12 -0500 Received: from pobox-3.corp.redhat.com (pobox-3.corp.redhat.com [10.11.255.67]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m08FWBEu018993; Tue, 8 Jan 2008 10:32:11 -0500 Received: from [127.0.0.1] (vpn-15-92.rdu.redhat.com [10.11.15.92]) by pobox-3.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m08FW8qx019723; Tue, 8 Jan 2008 10:32:11 -0500 Message-ID: <4783977B.3020202@redhat.com> Date: Tue, 08 Jan 2008 15:32:00 -0000 From: Dave Brolley User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) MIME-Version: 1.0 To: Will Newton CC: cgen@sources.redhat.com Subject: Re: Assembler syntax with embedded spaces References: <0D107966AF6D79418315B7C5549F4B5164357E@lemail1.le.imgtec.org> In-Reply-To: <0D107966AF6D79418315B7C5549F4B5164357E@lemail1.le.imgtec.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cgen-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sourceware.org X-SW-Source: 2008-q1/txt/msg00001.txt.bz2 CGEN will likely have problems with a prefix containing whitespace, i.e. 'fd '. You will probably have to code 2 versions of the insn(s), one with the prefix and one without. pmacros may be useful for you here in order to reduce duplicate typing. I hope this helps, Dave Will Newton wrote: >Hi all, > > > >Is it possible to use CGEN to generate an assembler/disassembler for an > >assembler syntax with whitespace embedded in mnemonics, e.g.: > > > >FD ABS FX.0,FX.1 > > > >Where "FD ABS" is the mnemonic (ABS) plus a prefix (FD). Currently my > >assembler says: > > > >unrecognized form of instruction `fd ABS FX.0,FX.1' > > > >Thanks, > >- > >This message is subject to Imagination Technologies' e-mail terms: http://www.imgtec.com/e-mail.htm > >- > > > >