|
ARM improvements to constant div, mod and mul.
* Fast runtime calls for div and mod.
* Fix assembly and disassembly of multiply instructions.
* Strength reduce and inline multiplications to shift-add.
* Strength reduce and inline mod by power of 2.
* Strength reduce mod by other small integers to mul.
* Strength reduce div by 2 and 3.
Committed: http://code.google.com/p/v8/source/detail?r=2355
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+580 lines, -142 lines) |
Patch |
|
M |
src/arm/assembler-arm.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/arm/codegen-arm.h
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
src/arm/codegen-arm.cc
|
View
|
|
16 chunks |
+376 lines, -82 lines |
11 comments
|
Download
|
|
M |
src/arm/disasm-arm.cc
|
View
|
|
2 chunks |
+20 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/arm/simulator-arm.cc
|
View
|
|
1 chunk |
+15 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/assembler.cc
|
View
|
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/serialize.cc
|
View
|
|
1 chunk |
+9 lines, -1 line |
0 comments
|
Download
|
|
A |
test/mjsunit/div-mod.js
|
View
|
|
1 chunk |
+95 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/smi-negative-zero.js
|
View
|
|
1 chunk |
+42 lines, -42 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|