Description[turbofan] Fix optimized lowering of Math.imul.
We eagerly inserted Int32Mul for Math.imul during builtin lowering and
messed up with the types, which confused the representation selection.
This adds a proper NumberImul operator, and fixes the builtin reducer to
do the right thing according to the spec.
R=mstarzinger@chromium.org
BUG=v8:5006
LOG=n
Committed: https://crrev.com/fa7460adbcc544dcd1483999b553e0cdcab43b51
Cr-Commit-Position: refs/heads/master@{#36219}
Patch Set 1 #Patch Set 2 : Fix unittests. Reorder as pointed out by Michi. #
Messages
Total messages: 13 (5 generated)
|