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

Issue 1471913006: [turbofan] Implemented the optional Float32RoundDown operator. (Closed)

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

Description

[turbofan] Implemented the optional Float32RoundDown operator. I implemented the optional Float32RoundDown operator on x64, ia32, arm, and arm64. For arm I also had to adjust the simulator. R=titzer@chromium.org Committed: https://crrev.com/74434403f6d3e8a367992ce672bf112dd3955554 Cr-Commit-Position: refs/heads/master@{#32261}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Removed a debugging printf. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -52 lines) Patch
M src/arm/assembler-arm.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/arm/assembler-arm.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M src/arm/simulator-arm.cc View 1 chunk +62 lines, -35 lines 1 comment Download
M src/compiler/arm/code-generator-arm.cc View 1 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 +7 lines, -1 line 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 1 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/code-generator-ia32.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M src/compiler/ia32/instruction-codes-ia32.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/ia32/instruction-selector-ia32.cc View 2 chunks +7 lines, -1 line 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 +15 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 +3 lines, -0 lines 0 comments Download
M src/compiler/mips64/instruction-selector-mips64.cc View 1 chunk +3 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 +3 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/code-generator-x64.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M src/compiler/x64/instruction-codes-x64.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/x64/instruction-selector-x64.cc View 2 chunks +7 lines, -1 line 0 comments Download
M src/compiler/x87/instruction-selector-x87.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/ia32/assembler-ia32.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 chunk +13 lines, -0 lines 1 comment Download
M src/x64/assembler-x64.h View 2 chunks +6 lines, -0 lines 0 comments Download
M src/x64/assembler-x64.cc View 1 chunk +15 lines, -0 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M test/cctest/compiler/codegen-tester.h View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-run-machops.cc View 1 1 chunk +10 lines, -0 lines 1 comment Download

Messages

Total messages: 16 (3 generated)
ahaas
5 years ago (2015-11-24 21:24:43 UTC) #1
titzer
lgtm https://codereview.chromium.org/1471913006/diff/20001/src/ia32/assembler-ia32.cc File src/ia32/assembler-ia32.cc (right): https://codereview.chromium.org/1471913006/diff/20001/src/ia32/assembler-ia32.cc#newcode2205 src/ia32/assembler-ia32.cc:2205: // Mask precision exeption. s/exeption/exception/
5 years ago (2015-11-25 10:33:25 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471913006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471913006/20001
5 years ago (2015-11-25 10:37:24 UTC) #5
jbramley
https://codereview.chromium.org/1471913006/diff/20001/src/arm/simulator-arm.cc File src/arm/simulator-arm.cc (right): https://codereview.chromium.org/1471913006/diff/20001/src/arm/simulator-arm.cc#newcode3925 src/arm/simulator-arm.cc:3925: sd_value = ceilf(sm_value); Why not std::ceil? (Ditto for the ...
5 years ago (2015-11-25 10:46:16 UTC) #7
jbramley
https://codereview.chromium.org/1471913006/diff/1/src/arm/simulator-arm.cc File src/arm/simulator-arm.cc (right): https://codereview.chromium.org/1471913006/diff/1/src/arm/simulator-arm.cc#newcode3921 src/arm/simulator-arm.cc:3921: sd_value = nearbyintf(sm_value); If this has behaviour equivalent to ...
5 years ago (2015-11-25 10:52:17 UTC) #8
ahaas
On 2015/11/25 at 10:46:16, jacob.bramley wrote: > https://codereview.chromium.org/1471913006/diff/20001/src/arm/simulator-arm.cc > File src/arm/simulator-arm.cc (right): > > https://codereview.chromium.org/1471913006/diff/20001/src/arm/simulator-arm.cc#newcode3925 ...
5 years ago (2015-11-25 11:01:55 UTC) #9
ahaas
On 2015/11/25 at 10:52:17, jacob.bramley wrote: > https://codereview.chromium.org/1471913006/diff/1/src/arm/simulator-arm.cc > File src/arm/simulator-arm.cc (right): > > https://codereview.chromium.org/1471913006/diff/1/src/arm/simulator-arm.cc#newcode3921 ...
5 years ago (2015-11-25 11:04:58 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-11-25 11:05:28 UTC) #11
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/74434403f6d3e8a367992ce672bf112dd3955554 Cr-Commit-Position: refs/heads/master@{#32261}
5 years ago (2015-11-25 11:06:23 UTC) #12
jbramley
On 2015/11/25 11:01:55, ahaas wrote: > On 2015/11/25 at 10:46:16, jacob.bramley wrote: > > https://codereview.chromium.org/1471913006/diff/20001/src/arm/simulator-arm.cc ...
5 years ago (2015-11-25 11:12:01 UTC) #13
jbramley
On 2015/11/25 11:04:58, ahaas wrote: > On 2015/11/25 at 10:52:17, jacob.bramley wrote: > > https://codereview.chromium.org/1471913006/diff/1/src/arm/simulator-arm.cc ...
5 years ago (2015-11-25 11:12:19 UTC) #14
jbramley
Also, vrintm float tests should be added to test/cctest/test-assembler-arm.cc, similar to the vrintz tests that ...
5 years ago (2015-11-25 11:13:54 UTC) #15
ahaas
5 years ago (2015-11-25 12:32:54 UTC) #16
Message was sent while issue was closed.
On 2015/11/25 at 11:13:54, jacob.bramley wrote:
> Also, vrintm float tests should be added to test/cctest/test-assembler-arm.cc,
similar to the vrintz tests that I mentioned in
https://codereview.chromium.org/1468303005/.

I will add the test in https://codereview.chromium.org/1468303005/, together
with the test for vrintz.

Powered by Google App Engine
This is Rietveld 408576698