From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9355 invoked by alias); 27 Aug 2002 10:46:09 -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 9313 invoked from network); 27 Aug 2002 10:46:07 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 27 Aug 2002 10:46:07 -0000 Received: from tooth.toronto.redhat.com (tooth.toronto.redhat.com [172.16.14.29]) by touchme.toronto.redhat.com (Postfix) with ESMTP id DDA66B8832; Tue, 27 Aug 2002 06:46:06 -0400 (EDT) Received: (from fche@localhost) by tooth.toronto.redhat.com (8.11.6/8.11.6) id g7RAk6827233; Tue, 27 Aug 2002 06:46:06 -0400 Date: Tue, 27 Aug 2002 03:46:00 -0000 From: "Frank Ch. Eigler" To: =?iso-8859-1?Q?=B9=A8_=D4=B4=C8=AA?= Cc: cgen@sources.redhat.com Subject: Re: problems about "building a GAS test suite" Message-ID: <20020827064606.B26699@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from source_kong@hotmail.com on Tue, Aug 27, 2002 at 04:45:39PM +0800 X-SW-Source: 2002-q3/txt/msg00024.txt.bz2 Hi - On Tue, Aug 27, 2002 at 04:45:39PM +0800, ¹¨ ԴȪ wrote: > [...] > GAS test suite following the CGEN manual(take m32r for example): > 1.cd to the CGEN build directory > 2.make gas-test For this step, it's important to ensure that cgen will pick the right cpu model for generating the subsequent tests. For the m32r, you may need to say % make ARCH=m32r ISA=m32r gas-test > [...] > allinsn.s: Assembler messages: > allinsn.s:8: Error: too many memory references for `add' > allinsn.s:12: Error: no such instruction: `add3 fp,fp,00' > allinsn.s:16: Error: too many memory references for `and' > allinsn.s:20: Error: no such instruction: `and3 fp,fp,0' > [...] Very strange: I don't see any public cpu models that include an "add3" instruction. Could you forward a copy of the generated allinsn.s file? Also, are you sure that the assembler being used is an assembler configured for this same target? - FChE