|
ARM: Use the vsqrt instruction when available
vsqrt is used to calculate Math.sqrt(x), Math.pow(x, 0.5) and Math.pow(x, -0.5). Code size doesn't matter, as %_MathSqrt and %_MathPow are only called in one place each.
Committed: http://code.google.com/p/v8/source/detail?r=4974
Total comments: 1
Total comments: 24
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+287 lines, -18 lines) |
Patch |
|
M |
src/arm/assembler-arm.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm/assembler-arm.cc
|
View
|
1
2
3
4
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm/codegen-arm.cc
|
View
|
1
2
3
4
|
1 chunk |
+131 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/arm/disasm-arm.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
src/arm/macro-assembler-arm.h
|
View
|
1
2
3
4
|
3 chunks |
+39 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm/macro-assembler-arm.cc
|
View
|
1
2
3
4
|
2 chunks |
+62 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm/simulator-arm.cc
|
View
|
1
2
3
4
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/test-disasm-arm.cc
|
View
|
1
2
3
4
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/math-sqrt.js
|
View
|
1
2
3
4
|
1 chunk |
+15 lines, -10 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|