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

Issue 412353005: Use movss to implement insertelement when elements = 4 and index = 0. (Closed)

Created:
6 years, 5 months ago by wala
Modified:
6 years, 5 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Visibility:
Public.

Description

Use movss to implement insertelement when elements = 4 and index = 0. This avoids using a pair of shufps instructions as the previous lowering was doing. Instead, we use movss to copy the element to be inserted into the lower 32 bits of the destination. Define InstX8632Movss as a Binop, the class to which it properly belongs. BUG=none R=jvoung@chromium.org, stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=cfe5146

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add comment about the usage of movss as a binary op #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -25 lines) Patch
M src/IceInstX8632.h View 1 2 chunks +7 lines, -1 line 0 comments Download
M src/IceInstX8632.cpp View 2 chunks +1 line, -1 line 0 comments Download
M src/IceTargetLoweringX8632.cpp View 6 chunks +25 lines, -17 lines 0 comments Download
M tests_lit/llvm2ice_tests/vector-ops.ll View 2 chunks +32 lines, -6 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
wala
Note that while movss was declared in the wrong category of instructions (it was previously ...
6 years, 5 months ago (2014-07-25 02:28:20 UTC) #1
jvoung (off chromium)
lgtm
6 years, 5 months ago (2014-07-25 15:58:29 UTC) #2
Jim Stichnoth
lgtm https://codereview.chromium.org/412353005/diff/1/src/IceInstX8632.h File src/IceInstX8632.h (right): https://codereview.chromium.org/412353005/diff/1/src/IceInstX8632.h#newcode588 src/IceInstX8632.h:588: typedef InstX8632Binop<InstX8632::Movss> InstX8632Movss; Could you add a TODO ...
6 years, 5 months ago (2014-07-25 20:07:12 UTC) #3
wala
https://codereview.chromium.org/412353005/diff/1/src/IceInstX8632.h File src/IceInstX8632.h (right): https://codereview.chromium.org/412353005/diff/1/src/IceInstX8632.h#newcode588 src/IceInstX8632.h:588: typedef InstX8632Binop<InstX8632::Movss> InstX8632Movss; On 2014/07/25 20:07:12, stichnot wrote: > ...
6 years, 5 months ago (2014-07-25 22:57:41 UTC) #4
wala
6 years, 5 months ago (2014-07-25 22:58:00 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as rcfe5146 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698