|
Range feedback for arithmetic operations.
In addition to tracking input and output ranges in the IC-stubs with a Smi fastpath (SmiAdd and SmiSub, currently) this CL also introduces two IC stubs that have no fast-path by still track ranges and update the range feedback.
We are able to distinguish between the following ranges (encoding of the lattice is shown in the parens):
- u-smi (0000)
- smi (0001)
- uint31 (0010)
- int32 (0011)
- uint32 (0100)
- int64 (1xxx) and (x1x1)
BUG=
R=fschneider@google.com, srdjan@google.com, zra@google.com
Committed: https://code.google.com/p/dart/source/detail?r=42370
Total comments: 20
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1312 lines, -99 lines) |
Patch |
|
M |
runtime/vm/assembler_arm.h
|
View
|
1
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/assembler_arm.cc
|
View
|
1
2
3
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/assembler_arm64.h
|
View
|
1
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/assembler_arm64.cc
|
View
|
1
2
3
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/assembler_arm64_test.cc
|
View
|
1
2
3
|
1 chunk |
+61 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/assembler_arm_test.cc
|
View
|
1
2
3
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/assembler_ia32.h
|
View
|
1
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/assembler_ia32.cc
|
View
|
1
2
3
|
2 chunks |
+50 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/assembler_ia32_test.cc
|
View
|
1
2
3
|
2 chunks |
+59 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/assembler_mips.h
|
View
|
1
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/assembler_mips.cc
|
View
|
1
2
3
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/assembler_mips_test.cc
|
View
|
1
2
3
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/assembler_x64.h
|
View
|
1
2
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/assembler_x64.cc
|
View
|
1
2
3
|
2 chunks |
+52 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/assembler_x64_test.cc
|
View
|
1
2
3
|
3 chunks |
+59 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_optimizer.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/il_printer.cc
|
View
|
1
|
1 chunk |
+12 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language.cc
|
View
|
1
2
3
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.h
|
View
|
1
2
3
|
4 chunks |
+76 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.cc
|
View
|
1
2
3
|
3 chunks |
+94 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/raw_object.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code.h
|
View
|
1
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_arm.cc
|
View
|
1
|
8 chunks |
+90 lines, -19 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_arm64.cc
|
View
|
1
|
10 chunks |
+91 lines, -17 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_ia32.cc
|
View
|
1
2
|
9 chunks |
+96 lines, -16 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_mips.cc
|
View
|
1
|
8 chunks |
+82 lines, -15 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_x64.cc
|
View
|
1
|
10 chunks |
+110 lines, -18 lines |
0 comments
|
Download
|
|
M |
runtime/vm/symbols.h
|
View
|
1
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/token.h
|
View
|
1
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/token.cc
|
View
|
1
|
3 chunks |
+19 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/unit_test.h
|
View
|
1
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
Total messages: 14 (1 generated)
|