problems about "building a GAS test suite"
Frank Ch. Eigler
fche@redhat.com
Tue Aug 27 03:46:00 GMT 2002
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
More information about the Cgen
mailing list