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

Issue 1522573002: MIPS: use DAHI/DATH for li macro on mips64r6. (Closed)

Created:
5 years ago by Alan Li
Modified:
4 years, 10 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

MIPS: use DAHI/DATH for li macro on mips64r6. BUG= Committed: https://crrev.com/1f5b84e467763510b08aac64577292205dfc19c3 Cr-Commit-Position: refs/heads/master@{#34176}

Patch Set 1 #

Patch Set 2 : Optimize for size. #

Patch Set 3 : small fix. #

Patch Set 4 : Optimize for size. #

Patch Set 5 : positive int48 does not need dati. #

Total comments: 12

Patch Set 6 : copy shamelessly from Android kernel a better way to do LI. #

Total comments: 6

Patch Set 7 : Using a much simpler way to do LI. #

Patch Set 8 : Adding tests for all LI flags. #

Total comments: 6

Patch Set 9 : more fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -29 lines) Patch
M src/mips64/macro-assembler-mips64.cc View 1 2 3 4 5 6 7 8 2 chunks +81 lines, -29 lines 0 comments Download
M test/cctest/test-assembler-mips64.cc View 1 2 3 4 5 6 7 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
ivica.bogosavljevic
https://codereview.chromium.org/1522573002/diff/80001/src/mips64/macro-assembler-mips64.cc File src/mips64/macro-assembler-mips64.cc (right): https://codereview.chromium.org/1522573002/diff/80001/src/mips64/macro-assembler-mips64.cc#newcode1298 src/mips64/macro-assembler-mips64.cc:1298: int64_t imm = j.imm64_; This is the optimized case, ...
5 years ago (2015-12-21 16:15:56 UTC) #3
Alan Li
https://codereview.chromium.org/1522573002/diff/80001/src/mips64/macro-assembler-mips64.cc File src/mips64/macro-assembler-mips64.cc (right): https://codereview.chromium.org/1522573002/diff/80001/src/mips64/macro-assembler-mips64.cc#newcode1298 src/mips64/macro-assembler-mips64.cc:1298: int64_t imm = j.imm64_; On 2015/12/21 16:15:55, ivica.bogosavljevic wrote: ...
4 years, 11 months ago (2016-01-20 14:26:59 UTC) #4
ivica.bogosavljevic
https://codereview.chromium.org/1522573002/diff/100001/test/cctest/test-assembler-mips64.cc File test/cctest/test-assembler-mips64.cc (right): https://codereview.chromium.org/1522573002/diff/100001/test/cctest/test-assembler-mips64.cc#newcode5005 test/cctest/test-assembler-mips64.cc:5005: __ li(a0, rs); You are still missing here the ...
4 years, 11 months ago (2016-01-21 14:02:54 UTC) #5
ivica.bogosavljevic
https://codereview.chromium.org/1522573002/diff/100001/src/mips64/macro-assembler-mips64.cc File src/mips64/macro-assembler-mips64.cc (right): https://codereview.chromium.org/1522573002/diff/100001/src/mips64/macro-assembler-mips64.cc#newcode1326 src/mips64/macro-assembler-mips64.cc:1326: if ((j.imm64_ & 0xffff0000) == 0 && is_int16(j.imm64_ >> ...
4 years, 11 months ago (2016-01-21 14:47:24 UTC) #6
Alan Li
https://codereview.chromium.org/1522573002/diff/100001/src/mips64/macro-assembler-mips64.cc File src/mips64/macro-assembler-mips64.cc (right): https://codereview.chromium.org/1522573002/diff/100001/src/mips64/macro-assembler-mips64.cc#newcode1326 src/mips64/macro-assembler-mips64.cc:1326: if ((j.imm64_ & 0xffff0000) == 0 && is_int16(j.imm64_ >> ...
4 years, 11 months ago (2016-01-22 02:46:24 UTC) #7
ivica.bogosavljevic
https://codereview.chromium.org/1522573002/diff/140001/src/mips64/macro-assembler-mips64.cc File src/mips64/macro-assembler-mips64.cc (right): https://codereview.chromium.org/1522573002/diff/140001/src/mips64/macro-assembler-mips64.cc#newcode1323 src/mips64/macro-assembler-mips64.cc:1323: if (kArchVariant == kMips64r6) { I tried this way, ...
4 years, 11 months ago (2016-01-22 12:35:49 UTC) #8
Alan Li
tests passed. Addressed Ivica's comments. https://codereview.chromium.org/1522573002/diff/140001/src/mips64/macro-assembler-mips64.cc File src/mips64/macro-assembler-mips64.cc (right): https://codereview.chromium.org/1522573002/diff/140001/src/mips64/macro-assembler-mips64.cc#newcode1323 src/mips64/macro-assembler-mips64.cc:1323: if (kArchVariant == kMips64r6) ...
4 years, 11 months ago (2016-01-22 14:06:54 UTC) #9
ivica.bogosavljevic
lgtm
4 years, 10 months ago (2016-02-03 16:22:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1522573002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1522573002/160001
4 years, 10 months ago (2016-02-20 15:34:10 UTC) #12
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even if an ...
4 years, 10 months ago (2016-02-20 15:34:12 UTC) #14
akos.palfi.imgtec
LGTM
4 years, 10 months ago (2016-02-20 16:06:48 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1522573002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1522573002/160001
4 years, 10 months ago (2016-02-20 16:07:37 UTC) #17
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 10 months ago (2016-02-20 16:24:21 UTC) #19
commit-bot: I haz the power
4 years, 10 months ago (2016-02-20 16:24:43 UTC) #21
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/1f5b84e467763510b08aac64577292205dfc19c3
Cr-Commit-Position: refs/heads/master@{#34176}

Powered by Google App Engine
This is Rietveld 408576698