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

Issue 607353002: Subzero: Fix emission of 16-bit immediates. (Closed)

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

Description

Subzero: Fix emission of 16-bit immediates. The operand type needs to be propagated into EmitImmediate() and EmitComplex() so that we know whether to emit the 2-byte or 4-byte form. BUG= none R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=94c4c8e7390924485238bd99cd74ed2bb4b04a3b

Patch Set 1 #

Patch Set 2 : Add tests #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -22 lines) Patch
M src/assembler_ia32.h View 1 3 chunks +8 lines, -2 lines 0 comments Download
M src/assembler_ia32.cpp View 18 chunks +25 lines, -20 lines 0 comments Download
M tests_lit/assembler/x86/immediate_encodings.ll View 1 1 chunk +61 lines, -0 lines 2 comments Download

Messages

Total messages: 4 (1 generated)
Jim Stichnoth
https://codereview.chromium.org/607353002/diff/20001/tests_lit/assembler/x86/immediate_encodings.ll File tests_lit/assembler/x86/immediate_encodings.ll (right): https://codereview.chromium.org/607353002/diff/20001/tests_lit/assembler/x86/immediate_encodings.ll#newcode88 tests_lit/assembler/x86/immediate_encodings.ll:88: ; CHECK: 66 35 00 ff xor ax, 65280 ...
6 years, 2 months ago (2014-09-28 18:14:29 UTC) #2
jvoung (off chromium)
LGTM Oops thanks! Looks like I can also repro a runtime error "Illegal instruction" if ...
6 years, 2 months ago (2014-09-29 01:16:56 UTC) #3
Jim Stichnoth
6 years, 2 months ago (2014-09-29 03:30:25 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 94c4c8e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698