AMCC-440EP floating point error

Niklaus niklaus@gmail.com
Thu Apr 13 12:33:00 GMT 2006


On 4/13/06, bora.sahin@ttnet.net.tr <bora.sahin@ttnet.net.tr> wrote:
> 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:

Please give the complete target and the build steps you followed.

>
> ../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
>
>

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



More information about the crossgcc mailing list