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

Issue 1679023008: Add insert/extract element to the integrated ARM assembler. (Closed)

Created:
4 years, 10 months ago by Karl
Modified:
4 years, 10 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

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 (+220 lines, -31 lines) Patch
M src/DartARM32/assembler_arm.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/DartARM32/assembler_arm.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/IceAssemblerARM32.h View 1 2 2 chunks +36 lines, -1 line 0 comments Download
M src/IceAssemblerARM32.cpp View 1 2 5 chunks +104 lines, -9 lines 0 comments Download
M src/IceInstARM32.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M src/IceInstARM32.cpp View 1 2 4 chunks +39 lines, -0 lines 0 comments Download
M tests_lit/assembler/arm32/insert-extract.ll View 16 chunks +35 lines, -17 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Karl
4 years, 10 months ago (2016-02-10 20:17:58 UTC) #3
John
lgtm https://codereview.chromium.org/1679023008/diff/20001/src/IceAssemblerARM32.cpp File src/IceAssemblerARM32.cpp (right): https://codereview.chromium.org/1679023008/diff/20001/src/IceAssemblerARM32.cpp#newcode1028 src/IceAssemblerARM32.cpp:1028: IValueT Rt = encodeGPRegister(OpRt, "Rt", InstName); const https://codereview.chromium.org/1679023008/diff/20001/src/IceAssemblerARM32.cpp#newcode1043 ...
4 years, 10 months ago (2016-02-10 20:25:38 UTC) #4
Karl
Committed patchset #3 (id:40001) manually as 6de32b2199915462a4216399ff0f3af31ec88015 (presubmit successful).
4 years, 10 months ago (2016-02-10 21:30:52 UTC) #6
Karl
4 years, 10 months ago (2016-02-10 21:31:03 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/1679023008/diff/20001/src/IceAssemblerARM32.cpp
File src/IceAssemblerARM32.cpp (right):

https://codereview.chromium.org/1679023008/diff/20001/src/IceAssemblerARM32.c...
src/IceAssemblerARM32.cpp:1028: IValueT Rt = encodeGPRegister(OpRt, "Rt",
InstName);
On 2016/02/10 20:25:38, John wrote:
> const

Done.

https://codereview.chromium.org/1679023008/diff/20001/src/IceAssemblerARM32.c...
src/IceAssemblerARM32.cpp:1043: Dn = Dn + mask(Index, 3, 1);
On 2016/02/10 20:25:38, John wrote:
> perhaps | instead of +?

Actually, we want an add here. We increment Dn to the right register, based on
the index value.

Then again, since there are only two registers, using | makes sense. Changing to
|.

https://codereview.chromium.org/1679023008/diff/20001/src/IceAssemblerARM32.c...
src/IceAssemblerARM32.cpp:2820: IValueT Sd = encodeSRegister(OpSd, "Sd",
Vmovsqi);
On 2016/02/10 20:25:38, John wrote:
> const

Done.

https://codereview.chromium.org/1679023008/diff/20001/src/IceAssemblerARM32.c...
src/IceAssemblerARM32.cpp:2822: IValueT Sm = mapQRegToSReg(encodeQRegister(OpQm,
"Qm", Vmovsqi)) + Index;
On 2016/02/10 20:25:38, John wrote:
> const

Done.

Powered by Google App Engine
This is Rietveld 408576698