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

Issue 2122043002: Subzero, MIPS32: Extend InstMIPS32Mov to support different data types (Closed)

Created:
4 years, 5 months ago by obucinac
Modified:
4 years, 5 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Subzero, MIPS32: Extend InstMIPS32Mov to support different data types This patch extends InstMIPS32Mov instruction to support different datatypes, and emit proper low level instruction depending on operands properties and data types. R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=36847bdd4ac98503242b74444011e6bb6cd6bdd6

Patch Set 1 #

Total comments: 14

Patch Set 2 : Changes according to comments #

Total comments: 1

Patch Set 3 : Change as suggested by Simon Dardis #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -34 lines) Patch
M src/IceInstMIPS32.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests_lit/llvm2ice_tests/64bit.pnacl.ll View 1 2 17 chunks +26 lines, -26 lines 0 comments Download
M tests_lit/llvm2ice_tests/int-arg.ll View 1 2 5 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
obucinac
4 years, 5 months ago (2016-07-05 17:36:14 UTC) #3
obucinac
The patch is also tested with slightly changed patch https://codereview.chromium.org/2027773002/ (Subzero, MIPS32: Handling floating point ...
4 years, 5 months ago (2016-07-05 18:17:28 UTC) #4
Jim Stichnoth
https://codereview.chromium.org/2122043002/diff/1/src/IceInstMIPS32.cpp File src/IceInstMIPS32.cpp (right): https://codereview.chromium.org/2122043002/diff/1/src/IceInstMIPS32.cpp#newcode558 src/IceInstMIPS32.cpp:558: const char *ActualOpcode = NULL; nullptr https://codereview.chromium.org/2122043002/diff/1/src/IceInstMIPS32.cpp#newcode559 src/IceInstMIPS32.cpp:559: bool ...
4 years, 5 months ago (2016-07-06 11:18:58 UTC) #5
obucinac
https://codereview.chromium.org/2122043002/diff/1/src/IceInstMIPS32.cpp File src/IceInstMIPS32.cpp (right): https://codereview.chromium.org/2122043002/diff/1/src/IceInstMIPS32.cpp#newcode558 src/IceInstMIPS32.cpp:558: const char *ActualOpcode = NULL; On 2016/07/06 11:18:57, stichnot ...
4 years, 5 months ago (2016-07-06 13:40:53 UTC) #6
obucinac
https://codereview.chromium.org/2122043002/diff/20001/src/IceInstMIPS32.cpp File src/IceInstMIPS32.cpp (left): https://codereview.chromium.org/2122043002/diff/20001/src/IceInstMIPS32.cpp#oldcode566 src/IceInstMIPS32.cpp:566: "\t"; This is done by format tool
4 years, 5 months ago (2016-07-06 13:41:58 UTC) #7
Jim Stichnoth
lgtm
4 years, 5 months ago (2016-07-06 22:57:50 UTC) #8
Jim Stichnoth
Committed patchset #2 (id:20001) manually as 36847bdd4ac98503242b74444011e6bb6cd6bdd6 (presubmit successful).
4 years, 5 months ago (2016-07-06 22:58:13 UTC) #10
obucinac
On 2016/07/06 22:58:13, stichnot wrote: > Committed patchset #2 (id:20001) manually as > 36847bdd4ac98503242b74444011e6bb6cd6bdd6 (presubmit ...
4 years, 5 months ago (2016-07-07 13:35:53 UTC) #11
Jim Stichnoth
4 years, 5 months ago (2016-07-07 16:24:00 UTC) #12
Message was sent while issue was closed.
On 2016/07/07 13:35:53, obucinac wrote:
> On 2016/07/06 22:58:13, stichnot wrote:
> > Committed patchset #2 (id:20001) manually as
> > 36847bdd4ac98503242b74444011e6bb6cd6bdd6 (presubmit successful).
> 
> Patch is changed as suggested by Simon Dardis.
> 
> The background for this is that 'or' is better than 'add' for 64bit cores
> running O32 code as 'add' is required to sign-extend its result whereas 'or'
> doesn't.

Sorry, since the earlier patch is already landed, this new change will need to
be done as a new CL or add part of another CL.

Powered by Google App Engine
This is Rietveld 408576698