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

Issue 561883002: Add load and store instructions to Subzero bitcode reader. (Closed)

Created:
6 years, 3 months ago by Karl
Modified:
6 years, 3 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Fix nits #

Total comments: 8

Patch Set 3 : Fix isses in patch set 2. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+446 lines, -45 lines) Patch
M src/IceInst.h View 2 chunks +8 lines, -2 lines 0 comments Download
M src/IceTypes.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/IceTypes.cpp View 5 chunks +18 lines, -9 lines 0 comments Download
M src/IceTypes.def View 1 1 chunk +18 lines, -17 lines 0 comments Download
M src/PNaClTranslator.cpp View 1 2 8 chunks +112 lines, -17 lines 0 comments Download
A tests_lit/reader_tests/load.ll View 1 chunk +149 lines, -0 lines 0 comments Download
A tests_lit/reader_tests/store.ll View 1 1 chunk +138 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Karl
6 years, 3 months ago (2014-09-10 19:49:49 UTC) #2
Jim Stichnoth
otherwise LGTM https://codereview.chromium.org/561883002/diff/20001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/561883002/diff/20001/src/PNaClTranslator.cpp#newcode860 src/PNaClTranslator.cpp:860: // name of the instruction the alignment ...
6 years, 3 months ago (2014-09-10 20:27:15 UTC) #3
jvoung (off chromium)
lgtm too
6 years, 3 months ago (2014-09-10 21:12:19 UTC) #4
Karl
Committed patchset #3 (id:40001) manually as 41689df (presubmit successful).
6 years, 3 months ago (2014-09-10 21:36:18 UTC) #5
Karl
6 years, 3 months ago (2014-09-10 21:36:29 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/561883002/diff/20001/src/PNaClTranslator.cpp
File src/PNaClTranslator.cpp (right):

https://codereview.chromium.org/561883002/diff/20001/src/PNaClTranslator.cpp#...
src/PNaClTranslator.cpp:860: // name of the instruction the alignment appears
in.
On 2014/09/10 20:27:15, stichnot wrote:
> Document that it returns true on success?

Modified to always error recover, even on error, since 1 is always a valid
alignment.

https://codereview.chromium.org/561883002/diff/20001/src/PNaClTranslator.cpp#...
src/PNaClTranslator.cpp:1024: // Checks if loading/storing wa value of type Ty,
is allowed for
On 2014/09/10 20:27:15, stichnot wrote:
> wa --> a
> also, no comma

Done.

https://codereview.chromium.org/561883002/diff/20001/src/PNaClTranslator.cpp#...
src/PNaClTranslator.cpp:1605: // TODO(kschimpf) Remove error recovery once
implementation complete.
On 2014/09/10 20:27:15, stichnot wrote:
> Can this TODO be removed now?  Or does it belong inside extractAlignment()?

Modified so that the error recovery done inside extractAlignment.

https://codereview.chromium.org/561883002/diff/20001/src/PNaClTranslator.cpp#...
src/PNaClTranslator.cpp:1620: if (!extractAlignment("Store", Values[1],
Alignment)) {
On 2014/09/10 20:27:15, stichnot wrote:
> "Load"

Done.

Powered by Google App Engine
This is Rietveld 408576698