Bug 152106 - B3 should strength-reduce the shifting madness that happens in asm.js memory accesses
Summary: B3 should strength-reduce the shifting madness that happens in asm.js memory ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 152160 152162 152163 150777 152164
Blocks: 154319
  Show dependency treegraph
 
Reported: 2015-12-09 22:09 PST by Filip Pizlo
Modified: 2016-02-16 18:26 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2015-12-09 22:09:24 PST
We end up emitting the left-shift and the right-shift.  It's pretty bad.
Comment 1 Filip Pizlo 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.