This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

AMCC-440EP floating point error


Hi,

While I am trying to build a cross toolchain for a 440EP target, which does 
have a FPU, I am getting the following error message:

../sysdeps/powerpc/fpu/s_isnan.c: In function `__isnan':
../sysdeps/powerpc/fpu/s_isnan.c:44: error: can't find a register in class 
`FLOAT_REGS' while reloading `asm'
../sysdeps/powerpc/fpu/s_isnan.c:47: error: can't find a register in class 
`FLOAT_REGS' while reloading `asm'

It refers to fegetenv_register() and fesetenv_register() respectively, which 
do some inline asm with FPU commands: mffs, mtfsf. As far as I see, it 
preserves the value of FPSCR but somehow cant find a FPR doing it...

Is/are some include file(s) defining floating point regs missing in the path? 
Where should I look at? 

crosstool-0.3:
	gcc-3.4.4
	glibc-2.3.5
	binutils-2.16.1

Thanks in advance...

--
Bora SAHIN

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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