B3 should strength-reduce the shifting madness that happens in asm.js memory accesses
https://bugs.webkit.org/show_bug.cgi?id=152106
Summary B3 should strength-reduce the shifting madness that happens in asm.js memory ...
Filip Pizlo
Reported 2015-12-09 22:09:24 PST
We end up emitting the left-shift and the right-shift. It's pretty bad.
Attachments
Filip Pizlo
Comment 1 2015-12-10 18:48:14 PST
I think that I know how to do this without doing anything asm.js-specific. I think that my general approach will benefit a lot of coding styles. It's going to be done by implementing a bunch of different optimizations. Each one is cheap. I'll file bugs for the individual optimizations and relate them to this one.
Note You need to log in before you can comment on or make changes to this bug.