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

Issue 2892163002: MIPS64: Add optimizations to li macro. (Closed)

Created:
3 years, 7 months ago by miran.karic
Modified:
3 years, 7 months ago
Reviewers:
ivica.bogosavljevic, ilija.pavlovic, miran.karic, dusan.simicic, Ilija.Pavlovic1
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

MIPS64: Add optimizations to li macro. A number of improvements in mips64 load immediate macro is added per suggestions from MIPS ART team. Also fix Subu and Dsubu macro, add a test for Subu and Dsubu and make minor code adjustments. BUG= TEST=cctest/test-assembler-mips/li_macro cctest/test-assembler-mips/Subu cctest/test-assembler-mips/Dsubu Review-Url: https://codereview.chromium.org/2892163002 Cr-Commit-Position: refs/heads/master@{#45493} Committed: https://chromium.googlesource.com/v8/v8/+/cc1aae281253e8749d345064554cbd13a744d389

Patch Set 1 #

Patch Set 2 : Add Subu optimization #

Total comments: 2

Patch Set 3 : Fix Subu and Dsubu, add Dsubu test, merge li with li_macro test #

Total comments: 10

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+548 lines, -163 lines) Patch
M src/mips/macro-assembler-mips.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/mips64/constants-mips64.h View 2 chunks +21 lines, -21 lines 0 comments Download
M src/mips64/macro-assembler-mips64.h View 1 2 2 chunks +6 lines, -5 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 6 chunks +197 lines, -105 lines 0 comments Download
M test/cctest/test-assembler-mips.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-assembler-mips64.cc View 1 2 3 5 chunks +320 lines, -28 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
miran.karic
PTAL. There is already li_macro test defined in the test-assembler-mips64.cc so please comment on merging ...
3 years, 7 months ago (2017-05-19 09:05:56 UTC) #2
ivica.bogosavljevic
lgtm with nits https://codereview.chromium.org/2892163002/diff/20001/src/mips64/constants-mips64.h File src/mips64/constants-mips64.h (right): https://codereview.chromium.org/2892163002/diff/20001/src/mips64/constants-mips64.h#newcode342 src/mips64/constants-mips64.h:342: const int kHiMaskOf32 = 0xffff << ...
3 years, 7 months ago (2017-05-19 12:42:39 UTC) #3
miran.karic
https://codereview.chromium.org/2892163002/diff/20001/src/mips64/constants-mips64.h File src/mips64/constants-mips64.h (right): https://codereview.chromium.org/2892163002/diff/20001/src/mips64/constants-mips64.h#newcode342 src/mips64/constants-mips64.h:342: const int kHiMaskOf32 = 0xffff << 16; // Only ...
3 years, 7 months ago (2017-05-19 13:23:53 UTC) #4
Ilija.Pavlovic1
lgtm
3 years, 7 months ago (2017-05-22 06:59:21 UTC) #6
dusan.simicic
LGTM with nits https://codereview.chromium.org/2892163002/diff/40001/src/mips64/macro-assembler-mips64.cc File src/mips64/macro-assembler-mips64.cc (right): https://codereview.chromium.org/2892163002/diff/40001/src/mips64/macro-assembler-mips64.cc#newcode660 src/mips64/macro-assembler-mips64.cc:660: -rt.imm64_)); // No subiu instr, use ...
3 years, 7 months ago (2017-05-23 12:17:39 UTC) #8
ivica.bogosavljevic
lgtm with nits https://codereview.chromium.org/2892163002/diff/40001/src/mips64/macro-assembler-mips64.cc File src/mips64/macro-assembler-mips64.cc (right): https://codereview.chromium.org/2892163002/diff/40001/src/mips64/macro-assembler-mips64.cc#newcode1747 src/mips64/macro-assembler-mips64.cc:1747: if ((j.imm64_ & kUpper16MaskOf64) == 0 ...
3 years, 7 months ago (2017-05-23 12:32:05 UTC) #9
miran.karic
https://codereview.chromium.org/2892163002/diff/40001/src/mips64/macro-assembler-mips64.cc File src/mips64/macro-assembler-mips64.cc (right): https://codereview.chromium.org/2892163002/diff/40001/src/mips64/macro-assembler-mips64.cc#newcode660 src/mips64/macro-assembler-mips64.cc:660: -rt.imm64_)); // No subiu instr, use addiu(x, y, -imm). ...
3 years, 7 months ago (2017-05-23 14:19:25 UTC) #10
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/2892163002/60001
3 years, 7 months ago (2017-05-23 14:48:17 UTC) #13
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/2892163002/60001
3 years, 7 months ago (2017-05-23 14:51:17 UTC) #18
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 16:01:52 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/cc1aae281253e8749d345064554cbd13a74...

Powered by Google App Engine
This is Rietveld 408576698