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

Issue 1365433004: Use three-address form of imul (Closed)

Created:
5 years, 3 months ago by sehr
Modified:
5 years, 2 months ago
Reviewers:
Jim Stichnoth, 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

Use three-address form of imul Previously we did not take advantage of the three address versions of the imul instruction. With this we are able to avoid some copies before imuls. BUG= R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=e11f878a3569f9e316c478d2e5595e0b000d0720

Patch Set 1 #

Patch Set 2 : Rebase to head. #

Total comments: 6

Patch Set 3 : Code review comments, fix for test. #

Patch Set 4 : Add type asserts, fix comment #

Patch Set 5 : Reinsert match for square operations, lost by merge. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -4 lines) Patch
M src/IceAssemblerX86Base.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/IceAssemblerX86BaseImpl.h View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
M src/IceInstX86Base.h View 4 chunks +22 lines, -0 lines 0 comments Download
M src/IceInstX86BaseImpl.h View 1 2 3 2 chunks +39 lines, -2 lines 0 comments Download
M src/IceTargetLoweringX86Base.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M src/IceTargetLoweringX86BaseImpl.h View 1 2 3 4 1 chunk +8 lines, -2 lines 0 comments Download
M tests_lit/assembler/x86/immediate_encodings.ll View 1 chunk +82 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
sehr
Three address imuls. PTAL.
5 years, 3 months ago (2015-09-25 00:51:34 UTC) #2
Jim Stichnoth
https://codereview.chromium.org/1365433004/diff/20001/src/IceAssemblerX86Base.h File src/IceAssemblerX86Base.h (right): https://codereview.chromium.org/1365433004/diff/20001/src/IceAssemblerX86Base.h#newcode754 src/IceAssemblerX86Base.h:754: void imul_imm(Type Ty, typename Traits::GPRRegister dst, I'm not adamant ...
5 years, 2 months ago (2015-09-25 21:02:10 UTC) #3
sehr
PTAL. https://codereview.chromium.org/1365433004/diff/20001/src/IceAssemblerX86Base.h File src/IceAssemblerX86Base.h (right): https://codereview.chromium.org/1365433004/diff/20001/src/IceAssemblerX86Base.h#newcode754 src/IceAssemblerX86Base.h:754: void imul_imm(Type Ty, typename Traits::GPRRegister dst, On 2015/09/25 ...
5 years, 2 months ago (2015-09-25 23:04:41 UTC) #4
Jim Stichnoth
lgtm
5 years, 2 months ago (2015-09-26 00:43:06 UTC) #5
sehr
5 years, 2 months ago (2015-10-06 17:27:02 UTC) #6
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
e11f878a3569f9e316c478d2e5595e0b000d0720 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698