|
[turbofan] Change TruncateFloat32ToInt64 to TryTruncateFloat32ToInt64.
This operator now provides a second output which indicates whether the
conversion from float32 to int64 was successful or not. The second output
returns 0 if the conversion fails, or something else if the conversion succeeds.
The second output can be ignored, which means that the operator can be used the
same as the original operator.
I implement the new operator on x64, arm64, and mips64. @v8-ppc-ports, can you
please take care of the ppc64 implementation of the second output?
R=titzer@chromium.org, v8-arm-ports@googlegroups.com, v8-mips-ports@googlegroups.com
Committed: https://crrev.com/28261daa47d406d73e40bf4afba16ee61f300089
Cr-Commit-Position: refs/heads/master@{#32737}
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+107 lines, -20 lines) |
Patch |
|
M |
src/compiler/arm64/code-generator-arm64.cc
|
View
|
1
2
3
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/arm64/instruction-selector-arm64.cc
|
View
|
1
2
3
|
1 chunk |
+14 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/compiler/instruction-selector.cc
|
View
|
1
2
3
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/machine-operator.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/machine-operator.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/mips64/code-generator-mips64.cc
|
View
|
1
2
3
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/mips64/instruction-selector-mips64.cc
|
View
|
1
2
3
|
1 chunk |
+13 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/compiler/opcodes.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/raw-machine-assembler.h
|
View
|
1
2
3
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/typer.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/verifier.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/x64/code-generator-x64.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/x64/instruction-selector-x64.cc
|
View
|
1
2
3
|
1 chunk |
+12 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-run-machops.cc
|
View
|
1
2
3
|
2 chunks |
+21 lines, -5 lines |
0 comments
|
Download
|
Total messages: 14 (5 generated)
|