|
Fix bugs in simplified lowering relating to int32/uint32 signs.
Lowering of NumberToUint32 and NumberToInt32 was not correctly accounting for the sign of the input and the sign of the output, emitting the wrong representation changes.
Along the way, I've found cases where MachineOperatorBuilder would break if fed a machine type for loads or stores that was not cached, requiring MachineOperatorBuilder to take zone to allocate operators for these cases.
R=bmeurer@chromium.org, jarin@chromium.org
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=25247
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+205 lines, -64 lines) |
Patch |
 |
M |
src/compiler/basic-block-instrumentor.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/compiler/machine-operator.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/compiler/machine-operator.cc
|
View
|
|
4 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
 |
M |
src/compiler/pipeline.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/compiler/raw-machine-assembler.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/compiler/simplified-lowering.cc
|
View
|
|
2 chunks |
+11 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/compiler/typer.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
test/cctest/compiler/graph-builder-tester.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
test/cctest/compiler/test-instruction.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
test/cctest/compiler/test-js-constant-cache.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/cctest/compiler/test-js-context-specialization.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/cctest/compiler/test-js-typed-lowering.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
test/cctest/compiler/test-machine-operator-reducer.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
test/cctest/compiler/test-schedule.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/cctest/compiler/test-scheduler.cc
|
View
|
|
16 chunks |
+11 lines, -16 lines |
0 comments
|
Download
|
 |
M |
test/cctest/compiler/test-simplified-lowering.cc
|
View
|
|
5 chunks |
+70 lines, -22 lines |
0 comments
|
Download
|
 |
A |
test/mjsunit/mod-range.js
|
View
|
1
2
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
 |
M |
test/unittests/compiler/change-lowering-unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/unittests/compiler/js-builtin-reducer-unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/unittests/compiler/js-typed-lowering-unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/unittests/compiler/machine-operator-reducer-unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/unittests/compiler/node-matchers-unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/unittests/compiler/simplified-operator-reducer-unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 7 (1 generated)
|