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

Issue 693393002: Subzero: Support multiple fixups in one instruction. (Closed)

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

Description

Subzero: Support multiple fixups in one instruction. The integrated assembler assumed there is at most one fixup per instruction. For x86, there could actually be two fixups, for any instruction that allows memory and immediate operands at the same time. Using the now-default -build-on-read flag, it happens in spec2k - the smallest function I found where this happens is 176.gcc and perm_tree_cons. This changes the textual emission of integrated assembler code to allow for multiple consecutive fixups in a single instruction. BUG= none R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=f1156becf27aa349655f8fa4e12b30ce48638fa9

Patch Set 1 #

Total comments: 7

Patch Set 2 : Code review changes #

Patch Set 3 : Add the original test source in a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -24 lines) Patch
M src/IceInstX8632.cpp View 2 chunks +20 lines, -18 lines 0 comments Download
M src/assembler.h View 1 chunk +1 line, -1 line 0 comments Download
M src/assembler.cpp View 1 1 chunk +10 lines, -4 lines 0 comments Download
M src/assembler_ia32.h View 1 chunk +3 lines, -1 line 0 comments Download
A tests_lit/llvm2ice_tests/ias-multi-reloc.ll View 1 2 1 chunk +61 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Jim Stichnoth
https://codereview.chromium.org/693393002/diff/1/tests_lit/llvm2ice_tests/ias-multi-reloc.ll File tests_lit/llvm2ice_tests/ias-multi-reloc.ll (right): https://codereview.chromium.org/693393002/diff/1/tests_lit/llvm2ice_tests/ias-multi-reloc.ll#newcode10 tests_lit/llvm2ice_tests/ias-multi-reloc.ll:10: define internal void @store_immediate_to_global() { This is the only ...
6 years, 1 month ago (2014-11-02 17:49:21 UTC) #2
jvoung (off chromium)
https://codereview.chromium.org/693393002/diff/1/src/assembler.cpp File src/assembler.cpp (right): https://codereview.chromium.org/693393002/diff/1/src/assembler.cpp#newcode78 src/assembler.cpp:78: // there is none. Assumes were added in increasing ...
6 years, 1 month ago (2014-11-03 17:18:56 UTC) #3
Jim Stichnoth
https://codereview.chromium.org/693393002/diff/1/src/assembler.cpp File src/assembler.cpp (right): https://codereview.chromium.org/693393002/diff/1/src/assembler.cpp#newcode78 src/assembler.cpp:78: // there is none. Assumes were added in increasing ...
6 years, 1 month ago (2014-11-03 19:35:50 UTC) #4
jvoung (off chromium)
LGTM
6 years, 1 month ago (2014-11-03 19:50:12 UTC) #5
Jim Stichnoth
6 years, 1 month ago (2014-11-03 20:36:33 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
f1156becf27aa349655f8fa4e12b30ce48638fa9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698