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]

Re: AMCC-440EP floating point error


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


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