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

Issue 1586223004: MIPS: Add FPXX support to MIPS32R2 (Closed)

Created:
4 years, 11 months ago by ivica.bogosavljevic
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: Add FPXX support to MIPS32R2 The JIT code generated by V8 is FPXX compliant when v8 compiled with FPXX flag. This allows the code to run in both FP=1 and FP=0 mode. It also alows v8 to be used as a library by both FP32 and FP64 binaries. BUG= Committed: https://crrev.com/95110dde666158a230a823fd50a68558ad772320 Cr-Commit-Position: refs/heads/master@{#33576}

Patch Set 1 #

Patch Set 2 : Fix failures due to incompabaility of tests with FPXX #

Total comments: 2

Patch Set 3 : Rebasing changes from master #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -29 lines) Patch
M src/mips/assembler-mips.cc View 1 2 4 chunks +34 lines, -2 lines 1 comment Download
M src/mips/constants-mips.h View 1 2 2 chunks +9 lines, -9 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/test-assembler-mips.cc View 1 6 chunks +16 lines, -16 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
ivica.bogosavljevic
Hi guys! This is the initial proposal of FPXX on MIPS32R2. The fix is quite ...
4 years, 11 months ago (2016-01-15 16:16:14 UTC) #2
ivica.bogosavljevic
PTAL
4 years, 11 months ago (2016-01-20 09:11:44 UTC) #3
Ilija.Pavlovic1
These adaptations seems to me OK.
4 years, 11 months ago (2016-01-26 13:18:07 UTC) #5
balazs.kilvady
lgtm with a questions: in the review and have you run tests on a board? ...
4 years, 11 months ago (2016-01-27 11:50:09 UTC) #7
balazs.kilvady
Also please improve the message if you want to land it :)
4 years, 11 months ago (2016-01-27 12:16:49 UTC) #8
ivica.bogosavljevic
On 2016/01/27 11:50:09, balazs.kilvady wrote: > lgtm with a questions: in the review and have ...
4 years, 11 months ago (2016-01-27 12:49:28 UTC) #10
ivica.bogosavljevic
https://codereview.chromium.org/1586223004/diff/20001/src/mips/assembler-mips.cc File src/mips/assembler-mips.cc (right): https://codereview.chromium.org/1586223004/diff/20001/src/mips/assembler-mips.cc#newcode2132 src/mips/assembler-mips.cc:2132: mthc1(at, fd); Good point. I just copied the above ...
4 years, 11 months ago (2016-01-27 12:49:35 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1586223004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1586223004/40001
4 years, 11 months ago (2016-01-27 13:22:56 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-27 13:48:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1586223004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1586223004/40001
4 years, 10 months ago (2016-01-28 09:30:23 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-01-28 09:33:55 UTC) #20
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/95110dde666158a230a823fd50a68558ad772320 Cr-Commit-Position: refs/heads/master@{#33576}
4 years, 10 months ago (2016-01-28 09:34:05 UTC) #22
ivica.bogosavljevic
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1646813003/ by ivica.bogosavljevic@imgtec.com. ...
4 years, 10 months ago (2016-01-28 11:53:33 UTC) #23
Paul Lind
4 years, 10 months ago (2016-02-01 04:27:36 UTC) #25
Message was sent while issue was closed.
One drive-by-comment, but don't know the source of the problem with this CL.

https://codereview.chromium.org/1586223004/diff/40001/src/mips/assembler-mips.cc
File src/mips/assembler-mips.cc (right):

https://codereview.chromium.org/1586223004/diff/40001/src/mips/assembler-mips...
src/mips/assembler-mips.cc:2117: } else {
As far as I can see this block is same as fp64 case. Suggest starting with if
(IsFp32Mode()), and then let fp64, and ffpxx land under a single else, to avoid
code duplication. (with appropriate DCHECKs, etc)

Powered by Google App Engine
This is Rietveld 408576698