Updates:
Cc: [email protected]
Comment #5 on issue 2294 by [email protected]: Apparently incorrect rounding
in Uint8ClampedArray implementation in V8
http://code.google.com/p/v8/issues/detail?id=2294
Dominik, can you please provide a reference for the recommended SSE
instruction sequence to perform this rounding? I hope we do not have to
change the MXCSR register in order to do so -- is that not very expensive?
Is there a difference between C's rounding mode (which I thought was
round-to-zero) and the behavior of Web IDL's [Clamp] extended attribute? If
so, then in my opinion, we should change the Web IDL specification rather
than pessimize compiled JavaScript code.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev