> What kind of optimization did you have in mind?

A 3 line assembly code which mimic the old libc:
fld [src] (must be a double)
fsin
fst [dst]

Not sure the best way of adding it to JSC.

And we should also check which is correct:

32 bit fsin:
  sin(6.2831853071795862) = -2.4492127076447545e-16

64 bit software based fsin:
  sin(6.2831853071795862) = -2.4492935982947064e-16

The difference is quite big.

Regards,
Zoltan


_______________________________________________
squirrelfish-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/squirrelfish-dev

Reply via email to