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

Issue 1144373003: MIPS: Implemented PC-relative instructions for R6. (Closed)

Created:
5 years, 6 months ago by ilija.pavlovic
Modified:
5 years, 6 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

MIPS: Implemented PC-relative instructions for R6. Added: JIC, BEQZC, JIALC, LDPC, LWPC, ALUIPC, ADDIUPC, ALIGN/DAILGN Additional fixed compact branch offset. TEST=test-assembler-mips[64]/r6_align, r6_dalign, r6_aluipc, r6_lwpc, r6_jic, r6_beqzc, r6_jialc, r6_addiupc, r6_ldpc BUG=

Patch Set 1 #

Total comments: 2

Patch Set 2 : Corrections and implementation LWUPC and AUIPC. #

Patch Set 3 : Implementation BC and BALC. #

Total comments: 46

Patch Set 4 : Corrections according review comments. #

Total comments: 36

Patch Set 5 : Updated according the review comments for the Patch Set 4. #

Patch Set 6 : Rebase #

Patch Set 7 : Fix -Wshorten warnings #

Total comments: 2

Patch Set 8 : Updated fix -Wshorten warnings. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3179 lines, -320 lines) Patch
M src/mips/assembler-mips.h View 1 2 3 4 5 5 chunks +17 lines, -2 lines 0 comments Download
M src/mips/assembler-mips.cc View 1 2 3 4 5 8 chunks +83 lines, -24 lines 0 comments Download
M src/mips/constants-mips.h View 1 2 3 8 chunks +103 lines, -57 lines 0 comments Download
M src/mips/constants-mips.cc View 1 2 3 4 5 5 chunks +30 lines, -3 lines 0 comments Download
M src/mips/disasm-mips.cc View 1 2 3 4 5 11 chunks +226 lines, -32 lines 0 comments Download
M src/mips/simulator-mips.cc View 1 2 3 4 5 8 chunks +141 lines, -24 lines 0 comments Download
M src/mips64/assembler-mips64.h View 1 2 3 4 5 5 chunks +20 lines, -2 lines 0 comments Download
M src/mips64/assembler-mips64.cc View 1 2 3 4 5 10 chunks +108 lines, -25 lines 0 comments Download
M src/mips64/constants-mips64.h View 1 2 3 4 5 8 chunks +130 lines, -72 lines 0 comments Download
M src/mips64/constants-mips64.cc View 1 2 3 4 5 5 chunks +48 lines, -4 lines 0 comments Download
M src/mips64/disasm-mips64.cc View 1 2 3 4 5 10 chunks +253 lines, -31 lines 0 comments Download
M src/mips64/simulator-mips64.cc View 1 2 3 4 5 6 7 11 chunks +235 lines, -37 lines 0 comments Download
M test/cctest/test-assembler-mips.cc View 1 2 3 4 5 2 chunks +705 lines, -0 lines 0 comments Download
M test/cctest/test-assembler-mips64.cc View 1 2 3 4 5 6 2 chunks +915 lines, -0 lines 0 comments Download
M test/cctest/test-disasm-mips.cc View 1 2 4 chunks +71 lines, -7 lines 0 comments Download
M test/cctest/test-disasm-mips64.cc View 1 2 2 chunks +94 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (4 generated)
ilija.pavlovic
5 years, 6 months ago (2015-05-29 06:35:48 UTC) #2
dusmil.imgtec
https://codereview.chromium.org/1144373003/diff/1/test/cctest/test-disasm-mips.cc File test/cctest/test-disasm-mips.cc (right): https://codereview.chromium.org/1144373003/diff/1/test/cctest/test-disasm-mips.cc#newcode536 test/cctest/test-disasm-mips.cc:536: if (kArchVariant == kMips32r6) { It should be IsMipsArchVariant() ...
5 years, 6 months ago (2015-06-01 09:35:28 UTC) #3
paul.l...
This is a partial review, though I suspect many of the comments in the mips32 ...
5 years, 6 months ago (2015-06-10 03:49:26 UTC) #4
paul.l...
More comments, this time in test-assembler-mips.cc. it is really nice to see this thorough test ...
5 years, 6 months ago (2015-06-11 05:56:32 UTC) #5
ilija.pavlovic
Performed adaptations according review comments. Best regards Ilija https://codereview.chromium.org/1144373003/diff/1/test/cctest/test-disasm-mips.cc File test/cctest/test-disasm-mips.cc (right): https://codereview.chromium.org/1144373003/diff/1/test/cctest/test-disasm-mips.cc#newcode536 test/cctest/test-disasm-mips.cc:536: if ...
5 years, 6 months ago (2015-06-12 09:51:33 UTC) #6
dusmil.imgtec
LGTM.
5 years, 6 months ago (2015-06-12 10:11:43 UTC) #7
paul.l...
All the comments in test-assembler-mips64.cc likely also apply to test-assembler-mips.cc also. Sorry, I was somewhat ...
5 years, 6 months ago (2015-06-15 04:57:51 UTC) #8
ilija.pavlovic
Updated according review comments for the Patch Set 4. https://codereview.chromium.org/1144373003/diff/60001/test/cctest/test-assembler-mips64.cc File test/cctest/test-assembler-mips64.cc (right): https://codereview.chromium.org/1144373003/diff/60001/test/cctest/test-assembler-mips64.cc#newcode4450 test/cctest/test-assembler-mips64.cc:4450: ...
5 years, 6 months ago (2015-06-15 10:40:11 UTC) #9
paul.l...
LGTM, but it needs to be rebased for current master.
5 years, 6 months ago (2015-06-16 01:55:50 UTC) #10
dusmil.imgtec
https://codereview.chromium.org/1144373003/diff/120001/src/mips64/simulator-mips64.cc File src/mips64/simulator-mips64.cc (right): https://codereview.chromium.org/1144373003/diff/120001/src/mips64/simulator-mips64.cc#newcode4498 src/mips64/simulator-mips64.cc:4498: set_register(static_cast<int32_t>(rs_reg), alu_out); Instead of cast, change rs_reg type to ...
5 years, 6 months ago (2015-06-17 14:24:13 UTC) #11
ilija.pavlovic
Updated fix -Wshorten warnings. https://codereview.chromium.org/1144373003/diff/120001/src/mips64/simulator-mips64.cc File src/mips64/simulator-mips64.cc (right): https://codereview.chromium.org/1144373003/diff/120001/src/mips64/simulator-mips64.cc#newcode4498 src/mips64/simulator-mips64.cc:4498: set_register(static_cast<int32_t>(rs_reg), alu_out); On 2015/06/17 14:24:13, ...
5 years, 6 months ago (2015-06-18 05:32:51 UTC) #12
dusmil.imgtec
Final LGTM.
5 years, 6 months ago (2015-06-18 09:45:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1144373003/140001
5 years, 6 months ago (2015-06-18 10:15:43 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/3498)
5 years, 6 months ago (2015-06-18 10:19:03 UTC) #18
dusmil.imgtec
Re-upload the CL with imgtec account.
5 years, 6 months ago (2015-06-18 15:16:46 UTC) #19
dusmil.imgtec
5 years, 6 months ago (2015-06-19 12:28:18 UTC) #20

Powered by Google App Engine
This is Rietveld 408576698