I have impression that fpu_control.h has the same interface for all HW 
platforms, so conditional compilation is not required.

With best wishes,
Leonid


-----Original Message-----
From: Kallioinen Juha (Nokia-MS/Helsinki) 
Sent: 12 January, 2011 11:35
To: Moiseichuk Leonid (Nokia-MS/Helsinki)
Cc: ext Carsten Munk; meego-dev; Kant Jarmo (Nokia-MS/Helsinki)
Subject: Re: [MeeGo-dev] ARM RunFast by default in glibc

Here's a patch to arm build of eglibc 2.10 that does it. I had to modify some 
packages to pass their testsuites. One of the packages was mpfr, the float 
tests will fail with RunFast mode.

In arm case the _FPU_IEEE mode is different from the default mode, which does 
not have the FPU exceptions set on.

Any code that calls this _FPU_SETCW should also be #ifdef __arm__.

-Juha

On 12/01/11 11:21, Moiseichuk Leonid (Nokia-MS/Helsinki) wrote:
> Yes, we have. Juha could provide it. The best outcome: using standard glibc 
> interface we could turn it to FAST/IEEE mode
>     _FPU_SETCW(_FPU_IEEE);
>
> Turning back to run fast could be done by
>     _FPU_SETCW(_FPU_DEFAULT);
>
> No problems discovered during testing.
>
> With best wishes,
> Leonid
>
>
> -----Original Message-----
> From: meego-dev-boun...@meego.com [mailto:meego-dev-boun...@meego.com] 
> On Behalf Of ext Carsten Munk
> Sent: 12 January, 2011 11:07
> To: meego-dev; Kant Jarmo (Nokia-MS/Helsinki)
> Subject: [MeeGo-dev] ARM RunFast by default in glibc
>
> Hi (ARM toolchain group mostly)
>
> Do we have a patch for glibc-2.11-12-g24c0bf7 and/or glibc-2.12.1 that 
> enables ARM RunFast[1] mode by default anywhere? Would be good to push 
> it along with hardfp while we're at it and getting things tested 
> through.
>
> Best regards,
> Carsten Munk
>
> [1] 
> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0274h/C
> hdiihcd.html _______________________________________________
> MeeGo-dev mailing list
> MeeGo-dev@meego.com
> http://lists.meego.com/listinfo/meego-dev
>

_______________________________________________
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev

Reply via email to