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

Issue 1417173003: Fix ARM integrated assembler to be able to compile spec2k examples. (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

Fix ARM integrated assembler to be able to compile spec2k examples. Fixes a couple of bugs that stopped the ARM integrated assembler from generating assembly code for any spec2k examples. Fixes are: 1) Handle conditional branches with no else branch. 2) Fix usage of fixups so that the emit method does any needed buffer lookups. This fixes case where textual fixups (with zero length) appear at the end of the assembly file. BUG= https://code.google.com/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=e4289e23cd226f487ef767a59c96e6c77073309a

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -23 lines) Patch
M src/IceAssembler.h View 1 1 chunk +6 lines, -1 line 0 comments Download
M src/IceAssembler.cpp View 1 chunk +1 line, -7 lines 0 comments Download
M src/IceFixups.h View 1 2 chunks +2 lines, -4 lines 0 comments Download
M src/IceFixups.cpp View 2 chunks +4 lines, -8 lines 0 comments Download
M src/IceInstARM32.cpp View 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Karl
5 years, 1 month ago (2015-10-27 19:42:14 UTC) #3
Jim Stichnoth
lgtm https://codereview.chromium.org/1417173003/diff/1/src/IceAssembler.h File src/IceAssembler.h (right): https://codereview.chromium.org/1417173003/diff/1/src/IceAssembler.h#newcode290 src/IceAssembler.h:290: /// Returns the value of the given type ...
5 years, 1 month ago (2015-10-27 21:41:21 UTC) #4
Karl
Committed patchset #2 (id:20001) manually as e4289e23cd226f487ef767a59c96e6c77073309a (presubmit successful).
5 years, 1 month ago (2015-10-27 22:16:31 UTC) #5
Karl
5 years, 1 month ago (2015-10-27 22:16:42 UTC) #6
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/1417173003/diff/1/src/IceAssembler.h
File src/IceAssembler.h (right):

https://chromiumcodereview.appspot.com/1417173003/diff/1/src/IceAssembler.h#n...
src/IceAssembler.h:290: /// Returns the value of the given type in the
corresponding buffer.
On 2015/10/27 21:41:21, stichnot wrote:
> I would say "Return" instead of "Returns" for agreement with the nearby
> comments.

Done.

https://chromiumcodereview.appspot.com/1417173003/diff/1/src/IceFixups.h
File src/IceFixups.h (right):

https://chromiumcodereview.appspot.com/1417173003/diff/1/src/IceFixups.h#newc...
src/IceFixups.h:22: class Assembler;
On 2015/10/27 21:41:21, stichnot wrote:
> Is this forward declaration needed?  It's already declared in IceDefs.h.

Done.

Powered by Google App Engine
This is Rietveld 408576698