Bug 152106
Summary: | B3 should strength-reduce the shifting madness that happens in asm.js memory accesses | ||
---|---|---|---|
Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | 152160, 152162, 152163, 150777, 152164 | ||
Bug Blocks: | 154319 |
Filip Pizlo
We end up emitting the left-shift and the right-shift. It's pretty bad.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Filip Pizlo
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.