Re: [webkit-dev] NWFPE: GtkLauncher takes exception

2008-12-15 Thread Holger Freyther
On Monday 15 December 2008 09:52:46 Srinivas Rao M Hamse wrote:
> Hi,
>
> After a bit of code study and analysing map files found out from where
> these exceptions are generated.
>
> Also my ARM does not have any floating point hardware .. also the toolchain
> in Not Soft float !
> I guess The kernel should fixes these using FPE, But when kernel is
> handling these exceptions, it results in performance hit.
>
> They are being generated from two places from JavaScriptCore/kjs modules:
> 1. *static JSObject* constructDate(ExecState* exec, JSObject*, const
> ArgList& args)*


To be honest I don't understand your problem.

You compile with hard float, you don't have a floating point unit, you enable a 
kernel feature + debugging to fixup the mess.

Your options:
- Move to VFP and an arm core that has that
- Disable NWFPE and implement fixed point integer arithmetic for 
JavaScript
- Build your gcc with -msoft-float to automatically use Nicola's fixed 
point 
integer code for every operation...


what am I missing?

z.


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] NWFPE: GtkLauncher takes exception

2008-12-15 Thread Srinivas Rao M Hamse
Hi,

After a bit of code study and analysing map files found out from where these
exceptions are generated.

Also my ARM does not have any floating point hardware .. also the toolchain
in Not Soft float !
I guess The kernel should fixes these using FPE, But when kernel is handling
these exceptions, it results in performance hit.

They are being generated from two places from JavaScriptCore/kjs modules:
1. *static JSObject* constructDate(ExecState* exec, JSObject*, const
ArgList& args)*

<7>NWFPE: GtkLauncher[1456] takes exception 0001 at c0034290 from
40ae12a0 -
0xAC32A0

 - and -

2. *int32_t JSValue::toInt32SlowCase(double d, bool& ok)*
<7>NWFPE: GtkLauncher[1456] takes exception 0001 at c00346dc from
40aada60
0xA8FA60 -

These modules call  floating point library functions such as fmod(),
floor(), etc.,

Any help available to fix these exceptions ?

regards,
Srinivas Rao. M


On Sat, Dec 13, 2008 at 6:30 PM, Srinivas Rao M Hamse
wrote:

> Hi,
>
> I am using WebKit on Gtk Directfb on ARM platform.
> I am getting couple NWFPE exception thrown on console.
>
> <7>NWFPE: GtkLauncher[1456] takes exception 0001 at c0034290 from
> 40ae12a0
>
> Has anyone got this exception. How to resolve this issue.
> Also when this exception happen, does this slow processor execution.
>
> regards,
> Srinivas Rao. M
>
> --
> Srinivas Rao M  Hamse 
>
>


-- 
Srinivas Rao M  Hamse
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] NWFPE: GtkLauncher takes exception

2008-12-13 Thread Srinivas Rao M Hamse
Hi,

I am using WebKit on Gtk Directfb on ARM platform.
I am getting couple NWFPE exception thrown on console.

<7>NWFPE: GtkLauncher[1456] takes exception 0001 at c0034290 from
40ae12a0

Has anyone got this exception. How to resolve this issue.
Also when this exception happen, does this slow processor execution.

regards,
Srinivas Rao. M

-- 
Srinivas Rao M  Hamse 
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev