This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: problems about "building a GAS test suite"
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: ¹¨ ԴȪ <source_kong at hotmail dot com>
- Cc: cgen at sources dot redhat dot com
- Date: Tue, 27 Aug 2002 06:46:06 -0400
- Subject: Re: problems about "building a GAS test suite"
- References: <F2150pi8Zac4KPHMCIv000074b3@hotmail.com>
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