This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problems about "building a GAS test suite"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]