Bug 152106

Summary: B3 should strength-reduce the shifting madness that happens in asm.js memory accesses
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: 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
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.