On 2015/03/10 07:43:14, Benedikt Meurer wrote:
One thing I'd like to know: Do you plan to change Emscripten to generate
this
"index masking" based code? Or is it just for developers who write asm.js
code
by hand?
Emscripten has had an experimental 'POINTER_MASKING' feature for some time,
and
an update is inbound, see: https://github.com/kripken/emscripten/pull/3240
It emits buffer accesses as a[(i&m)+c >> n] and V8 optimizes this well on
the
ia32 and with a patch well on x64 see issue 860283004. The masks are defined
with a 'const' so the patch in issue 967093002 is also need for good
performance
(Odin does not optimize a closure 'var' well).
https://codereview.chromium.org/986073003/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.