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

Issue 2477453005: MIPS[64]: Optimize kMips[64]Tst in code-generator-mips[64].cc (Closed)

Created:
4 years, 1 month ago by ivica.bogosavljevic
Modified:
4 years, 1 month ago
Reviewers:
dusan.simicic, miran.karic, miran.karic
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

MIPS[64]: Optimize kMips[64]Tst in code-generator-mips[64].cc A small change that brings a lot of benefit since it is used in a lot of places. BUG= Committed: https://crrev.com/e18b03e651a9ab6dea61a43d6eb337de418dae95 Cr-Commit-Position: refs/heads/master@{#40982}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use EXT instruction for all immediates that are power of 2 #

Total comments: 5

Patch Set 3 : Fix typo #

Total comments: 1

Patch Set 4 : Address code review remarks #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -7 lines) Patch
M src/compiler/mips/code-generator-mips.cc View 1 1 chunk +9 lines, -2 lines 0 comments Download
M src/compiler/mips/instruction-selector-mips.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/mips64/code-generator-mips64.cc View 1 1 chunk +9 lines, -2 lines 0 comments Download
M src/compiler/mips64/instruction-selector-mips64.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/mips64/macro-assembler-mips64.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 3 3 chunks +21 lines, -3 lines 2 comments Download

Messages

Total messages: 25 (11 generated)
ivica.bogosavljevic
PTAL
4 years, 1 month ago (2016-11-04 15:05:15 UTC) #2
dusan.simicic
https://codereview.chromium.org/2477453005/diff/1/src/compiler/mips/code-generator-mips.cc File src/compiler/mips/code-generator-mips.cc (right): https://codereview.chromium.org/2477453005/diff/1/src/compiler/mips/code-generator-mips.cc#newcode1719 src/compiler/mips/code-generator-mips.cc:1719: if (instr->InputAt(1)->IsImmediate() && I think this can be generalised ...
4 years, 1 month ago (2016-11-09 12:40:49 UTC) #3
ivica.bogosavljevic
4 years, 1 month ago (2016-11-10 09:24:20 UTC) #4
dusan.simicic
https://codereview.chromium.org/2477453005/diff/20001/src/mips64/macro-assembler-mips64.cc File src/mips64/macro-assembler-mips64.cc (right): https://codereview.chromium.org/2477453005/diff/20001/src/mips64/macro-assembler-mips64.cc#newcode1799 src/mips64/macro-assembler-mips64.cc:1799: DCHECK(size < 0 && size <= 32); Typo, size ...
4 years, 1 month ago (2016-11-10 10:03:14 UTC) #5
ivica.bogosavljevic
PTAL
4 years, 1 month ago (2016-11-10 10:58:50 UTC) #6
miran.karic
https://codereview.chromium.org/2477453005/diff/20001/src/compiler/mips/code-generator-mips.cc File src/compiler/mips/code-generator-mips.cc (right): https://codereview.chromium.org/2477453005/diff/20001/src/compiler/mips/code-generator-mips.cc#newcode1730 src/compiler/mips/code-generator-mips.cc:1730: __ xori(result, result, 1); Do we need xori when ...
4 years, 1 month ago (2016-11-10 12:30:13 UTC) #8
miran.karic
https://codereview.chromium.org/2477453005/diff/40001/src/compiler/mips64/code-generator-mips64.cc File src/compiler/mips64/code-generator-mips64.cc (right): https://codereview.chromium.org/2477453005/diff/40001/src/compiler/mips64/code-generator-mips64.cc#newcode2040 src/compiler/mips64/code-generator-mips64.cc:2040: __ xori(result, result, 1); Same here as for mips32.
4 years, 1 month ago (2016-11-10 13:12:59 UTC) #9
ivica.bogosavljevic
Addressed remarks, PTAL https://codereview.chromium.org/2477453005/diff/20001/src/compiler/mips/code-generator-mips.cc File src/compiler/mips/code-generator-mips.cc (right): https://codereview.chromium.org/2477453005/diff/20001/src/compiler/mips/code-generator-mips.cc#newcode1730 src/compiler/mips/code-generator-mips.cc:1730: __ xori(result, result, 1); On 2016/11/10 ...
4 years, 1 month ago (2016-11-10 13:31:41 UTC) #11
miran.karic
lgtm
4 years, 1 month ago (2016-11-10 16:18:14 UTC) #13
miran.karic
https://codereview.chromium.org/2477453005/diff/60001/src/mips64/macro-assembler-mips64.cc File src/mips64/macro-assembler-mips64.cc (right): https://codereview.chromium.org/2477453005/diff/60001/src/mips64/macro-assembler-mips64.cc#newcode1772 src/mips64/macro-assembler-mips64.cc:1772: } else if (pos < 64) { This if ...
4 years, 1 month ago (2016-11-10 16:31:57 UTC) #14
ivica.bogosavljevic
https://codereview.chromium.org/2477453005/diff/60001/src/mips64/macro-assembler-mips64.cc File src/mips64/macro-assembler-mips64.cc (right): https://codereview.chromium.org/2477453005/diff/60001/src/mips64/macro-assembler-mips64.cc#newcode1772 src/mips64/macro-assembler-mips64.cc:1772: } else if (pos < 64) { On 2016/11/10 ...
4 years, 1 month ago (2016-11-15 09:14:06 UTC) #16
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/2477453005/60001
4 years, 1 month ago (2016-11-15 09:38:51 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-15 09:41:09 UTC) #23
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:33:33 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e18b03e651a9ab6dea61a43d6eb337de418dae95
Cr-Commit-Position: refs/heads/master@{#40982}

Powered by Google App Engine
This is Rietveld 408576698