Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Issue 1468303005: [turbofan] Implemented the optional Float32RoundTruncate operator. (Closed)

Created:
5 years ago by ahaas
Modified:
5 years ago
Reviewers:
titzer, jbramley, v8-arm-ports
CC:
dcarney, v8-mips-ports_googlegroups.com, v8-ppc-ports_googlegroups.com, v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@f32roundup
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Implemented the optional Float32RoundTruncate operator. The Float32RoundTruncate operator rounds float32 numbers towards zero. The operator is currently implemented on x64, ia32, arm, and arm64. Additionally I added support for the float32 vrintz, vrintn, and vrinta instructions to the arm simulator. R=titzer@chromium.org Committed: https://crrev.com/19741ac977ea0fae9a01fb78356cb84d546629b8 Cr-Commit-Position: refs/heads/master@{#32301}

Patch Set 1 #

Patch Set 2 : I added the arm assembler tests, and implemented the remaining f32 vrint instructions. #

Patch Set 3 : Apparently std::nearbyint does not exist on all platforms. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+265 lines, -39 lines) Patch
M src/arm/assembler-arm.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/arm/assembler-arm.cc View 1 3 chunks +42 lines, -0 lines 0 comments Download
M src/arm/disasm-arm.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M src/arm/simulator-arm.cc View 1 2 2 chunks +14 lines, -18 lines 0 comments Download
M src/compiler/arm/code-generator-arm.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/arm/instruction-codes-arm.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/arm/instruction-selector-arm.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/arm64/instruction-codes-arm64.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/arm64/instruction-selector-arm64.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M src/compiler/ia32/instruction-selector-ia32.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/machine-operator.h View 2 chunks +16 lines, -13 lines 0 comments Download
M src/compiler/machine-operator.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/mips/instruction-selector-mips.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/mips64/instruction-selector-mips64.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/opcodes.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/ppc/instruction-selector-ppc.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/typer.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/compiler/verifier.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/x64/instruction-selector-x64.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M src/compiler/x87/instruction-selector-x87.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M test/cctest/compiler/test-run-machops.cc View 1 2 5 chunks +14 lines, -4 lines 0 comments Download
M test/cctest/test-assembler-arm.cc View 1 1 chunk +105 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (5 generated)
ahaas
5 years ago (2015-11-25 09:53:39 UTC) #1
jbramley
The ARM and ARM64 parts look good.
5 years ago (2015-11-25 10:54:49 UTC) #4
jbramley
On 2015/11/25 10:54:49, jbramley wrote: > The ARM and ARM64 parts look good. Actually, there ...
5 years ago (2015-11-25 11:05:53 UTC) #5
ahaas
On 2015/11/25 at 11:05:53, jacob.bramley wrote: > On 2015/11/25 10:54:49, jbramley wrote: > > The ...
5 years ago (2015-11-25 16:46:49 UTC) #6
ahaas
On 2015/11/25 at 16:46:49, ahaas wrote: > On 2015/11/25 at 11:05:53, jacob.bramley wrote: > > ...
5 years ago (2015-11-25 17:00:20 UTC) #7
jbramley
5 years ago (2015-11-25 17:03:31 UTC) #8
jbramley
On 2015/11/25 17:00:20, ahaas wrote: > On 2015/11/25 at 16:46:49, ahaas wrote: > > On ...
5 years ago (2015-11-25 17:04:10 UTC) #9
titzer
On 2015/11/25 17:04:10, jbramley wrote: > On 2015/11/25 17:00:20, ahaas wrote: > > On 2015/11/25 ...
5 years ago (2015-11-25 17:16:21 UTC) #10
jbramley
Ok, the ARM(64) bits now look good as far as I'm concerned. - It'd be ...
5 years ago (2015-11-25 17:43:44 UTC) #11
ahaas
On 2015/11/25 at 17:43:44, jacob.bramley wrote: > Ok, the ARM(64) bits now look good as ...
5 years ago (2015-11-25 17:56:55 UTC) #13
titzer
On 2015/11/25 17:56:55, ahaas wrote: > On 2015/11/25 at 17:43:44, jacob.bramley wrote: > > Ok, ...
5 years ago (2015-11-25 18:28:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1468303005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1468303005/40001
5 years ago (2015-11-25 18:31:00 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-11-25 19:28:54 UTC) #17
commit-bot: I haz the power
5 years ago (2015-11-25 19:29:09 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/19741ac977ea0fae9a01fb78356cb84d546629b8
Cr-Commit-Position: refs/heads/master@{#32301}

Powered by Google App Engine
This is Rietveld 408576698