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

Issue 2785773002: [turbofan] introduce Int32/64AbsWithOverflow optional operator (Closed)

Created:
3 years, 8 months ago by john.yan
Modified:
3 years, 8 months ago
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] introduce Int32/64AbsWithOverflow optional operator some arch like s390 has native instr can benefit from this. see ~10% improvement on MathAbs on s390 Review-Url: https://codereview.chromium.org/2785773002 Cr-Commit-Position: refs/heads/master@{#44310} Committed: https://chromium.googlesource.com/v8/v8/+/ab5a0e2fed25e8215d160c25962141dd41fcafca

Patch Set 1 #

Total comments: 2

Patch Set 2 : add base impl #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -33 lines) Patch
M src/builtins/builtins-math-gen.cc View 1 chunk +31 lines, -22 lines 0 comments Download
M src/compiler/arm/instruction-selector-arm.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M src/compiler/arm64/instruction-selector-arm64.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M src/compiler/code-assembler.h View 2 chunks +6 lines, -0 lines 0 comments Download
M src/compiler/code-assembler.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M src/compiler/ia32/instruction-selector-ia32.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector.cc View 3 chunks +6 lines, -0 lines 0 comments Download
M src/compiler/machine-operator.h View 2 chunks +11 lines, -7 lines 0 comments Download
M src/compiler/machine-operator.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/mips/instruction-selector-mips.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M src/compiler/mips64/instruction-selector-mips64.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M src/compiler/opcodes.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/compiler/ppc/instruction-selector-ppc.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 chunk +13 lines, -0 lines 0 comments Download
M src/compiler/s390/code-generator-s390.cc View 3 chunks +10 lines, -0 lines 0 comments Download
M src/compiler/s390/instruction-codes-s390.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/s390/instruction-scheduler-s390.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/s390/instruction-selector-s390.cc View 1 6 chunks +25 lines, -2 lines 0 comments Download
M src/compiler/verifier.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M src/compiler/x64/instruction-selector-x64.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M src/compiler/x87/instruction-selector-x87.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M src/s390/disasm-s390.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (15 generated)
john.yan
ptal
3 years, 8 months ago (2017-03-29 18:56:28 UTC) #8
Benedikt Meurer
https://codereview.chromium.org/2785773002/diff/1/src/compiler/s390/instruction-selector-s390.cc File src/compiler/s390/instruction-selector-s390.cc (right): https://codereview.chromium.org/2785773002/diff/1/src/compiler/s390/instruction-selector-s390.cc#newcode1251 src/compiler/s390/instruction-selector-s390.cc:1251: UNREACHABLE(); Can you also provide a baseline implementation of ...
3 years, 8 months ago (2017-03-31 04:33:08 UTC) #9
john.yan
On 2017/03/31 04:33:08, Benedikt Meurer wrote: > https://codereview.chromium.org/2785773002/diff/1/src/compiler/s390/instruction-selector-s390.cc > File src/compiler/s390/instruction-selector-s390.cc (right): > > https://codereview.chromium.org/2785773002/diff/1/src/compiler/s390/instruction-selector-s390.cc#newcode1251 ...
3 years, 8 months ago (2017-03-31 05:43:55 UTC) #10
Benedikt Meurer
lgtm
3 years, 8 months ago (2017-03-31 06:20:23 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2785773002/20001
3 years, 8 months ago (2017-03-31 14:10:06 UTC) #18
john.yan
On 2017/03/31 06:20:23, Benedikt Meurer wrote: > lgtm thanks!
3 years, 8 months ago (2017-03-31 14:10:45 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-03-31 14:12:53 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/ab5a0e2fed25e8215d160c25962141dd41f...

Powered by Google App Engine
This is Rietveld 408576698