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

Issue 1440693002: Handle another form of MOVW in ARM integrated assembler. (Closed)

Created:
5 years, 1 month ago by Karl
Modified:
5 years, 1 month ago
Reviewers:
Jim Stichnoth, sehr, John
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

Handle another form of MOVW in ARM integrated assembler. Extends assembler movw method to handle integer constants in addition to relocatable constants, since (32-bit) integer constants are frequently used in movw instructions. BUG= https://bugs.chromium.org/p/nativeclient/issues/detail?id=4334 R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=5ff0cfb442b666fe435291c25cccae5eacd90ac6

Patch Set 1 #

Patch Set 2 : Fix nits. #

Total comments: 8

Patch Set 3 : Fix nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -19 lines) Patch
M src/IceAssemblerARM32.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/IceAssemblerARM32.cpp View 1 2 1 chunk +43 lines, -19 lines 0 comments Download
A tests_lit/assembler/arm32/mov-const.ll View 1 2 1 chunk +121 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Karl
5 years, 1 month ago (2015-11-11 17:16:54 UTC) #3
Jim Stichnoth
lgtm https://codereview.chromium.org/1440693002/diff/20001/src/IceAssemblerARM32.cpp File src/IceAssemblerARM32.cpp (right): https://codereview.chromium.org/1440693002/diff/20001/src/IceAssemblerARM32.cpp#newcode796 src/IceAssemblerARM32.cpp:796: // to handle cases where the constant is ...
5 years, 1 month ago (2015-11-11 21:46:39 UTC) #4
Karl
Committed patchset #3 (id:40001) manually as 5ff0cfb442b666fe435291c25cccae5eacd90ac6 (presubmit successful).
5 years, 1 month ago (2015-11-11 22:47:53 UTC) #5
Karl
5 years, 1 month ago (2015-11-11 22:48:19 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/1440693002/diff/20001/src/IceAssemblerARM32.cpp
File src/IceAssemblerARM32.cpp (right):

https://codereview.chromium.org/1440693002/diff/20001/src/IceAssemblerARM32.c...
src/IceAssemblerARM32.cpp:796: // to handle cases where the constant is greater
tham 16 bits (encoding A1
On 2015/11/11 21:46:39, stichnot wrote:
> than

Done.

https://codereview.chromium.org/1440693002/diff/20001/tests_lit/assembler/arm...
File tests_lit/assembler/arm32/mov-const.ll (right):

https://codereview.chromium.org/1440693002/diff/20001/tests_lit/assembler/arm...
tests_lit/assembler/arm32/mov-const.ll:2: ; ConstantRelocatble (see mov-imm.ll
for the ConstantRelocatable case).
On 2015/11/11 21:46:39, stichnot wrote:
> ConstantRelocatable

Done.

https://codereview.chromium.org/1440693002/diff/20001/tests_lit/assembler/arm...
tests_lit/assembler/arm32/mov-const.ll:3: 
On 2015/11/11 21:46:39, stichnot wrote:
> just use one blank line

Done.

https://codereview.chromium.org/1440693002/diff/20001/tests_lit/assembler/arm...
tests_lit/assembler/arm32/mov-const.ll:23: 
On 2015/11/11 21:46:39, stichnot wrote:
> single blank line for consistency

Done.

Powered by Google App Engine
This is Rietveld 408576698