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

Issue 647223004: emitIAS for movsx and movzx. (Closed)

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

Description

emitIAS for movsx and movzx. Force dest to be the full 32-bit reg instead of sometimes being a 16-bit reg. This is to save on a operand size prefix (and avoid passing the DestTy down to the dispatchers). BUG=none R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=39d4aca3794dde283c83907322c2c9b632ecaf7d

Patch Set 1 #

Patch Set 2 : stuff #

Patch Set 3 : format #

Total comments: 2

Patch Set 4 : tweak zext a bit #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -145 lines) Patch
M src/IceInstX8632.h View 1 2 3 4 5 chunks +7 lines, -42 lines 0 comments Download
M src/IceInstX8632.cpp View 1 2 6 chunks +31 lines, -44 lines 0 comments Download
M src/IceTargetLoweringX8632.cpp View 1 2 3 1 chunk +10 lines, -2 lines 0 comments Download
M src/assembler_ia32.h View 1 chunk +4 lines, -9 lines 0 comments Download
M src/assembler_ia32.cpp View 1 chunk +16 lines, -36 lines 0 comments Download
M tests_lit/llvm2ice_tests/convert.ll View 4 chunks +6 lines, -6 lines 0 comments Download
M tests_lit/llvm2ice_tests/test_i1.ll View 1 2 3 3 chunks +5 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
jvoung (off chromium)
6 years, 2 months ago (2014-10-15 19:09:28 UTC) #2
Jim Stichnoth
Otherwise LGTM. https://codereview.chromium.org/647223004/diff/40001/tests_lit/llvm2ice_tests/test_i1.ll File tests_lit/llvm2ice_tests/test_i1.ll (right): https://codereview.chromium.org/647223004/diff/40001/tests_lit/llvm2ice_tests/test_i1.ll#newcode82 tests_lit/llvm2ice_tests/test_i1.ll:82: ; CHECK: movzx [[REG:.*]], {{[a-d]l|byte ptr}} Should ...
6 years, 2 months ago (2014-10-15 20:08:45 UTC) #3
jvoung (off chromium)
https://codereview.chromium.org/647223004/diff/40001/tests_lit/llvm2ice_tests/test_i1.ll File tests_lit/llvm2ice_tests/test_i1.ll (right): https://codereview.chromium.org/647223004/diff/40001/tests_lit/llvm2ice_tests/test_i1.ll#newcode82 tests_lit/llvm2ice_tests/test_i1.ll:82: ; CHECK: movzx [[REG:.*]], {{[a-d]l|byte ptr}} On 2014/10/15 20:08:45, ...
6 years, 2 months ago (2014-10-15 21:07:29 UTC) #4
Jim Stichnoth
On 2014/10/15 21:07:29, jvoung wrote: > https://codereview.chromium.org/647223004/diff/40001/tests_lit/llvm2ice_tests/test_i1.ll > File tests_lit/llvm2ice_tests/test_i1.ll (right): > > https://codereview.chromium.org/647223004/diff/40001/tests_lit/llvm2ice_tests/test_i1.ll#newcode82 > ...
6 years, 2 months ago (2014-10-15 21:59:34 UTC) #5
Jim Stichnoth
On 2014/10/15 21:59:34, stichnot wrote: > On 2014/10/15 21:07:29, jvoung wrote: > > > https://codereview.chromium.org/647223004/diff/40001/tests_lit/llvm2ice_tests/test_i1.ll ...
6 years, 2 months ago (2014-10-15 22:01:33 UTC) #6
jvoung (off chromium)
6 years, 2 months ago (2014-10-15 22:16:59 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
39d4aca3794dde283c83907322c2c9b632ecaf7d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698