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

Issue 1351133003: Optimize 64-bit shifts by constants for x86-32 (Closed)

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

Optimize 64-bit shifts by constants for x86-32 Hopefully improves perf in fpclassifyd in ammp spec test. BUG=none R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=55f2e6d308e8a05dad706a6dd9c18a8f103e63c8

Patch Set 1 #

Total comments: 6

Patch Set 2 : Code review updates #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+333 lines, -107 lines) Patch
M crosstest/test_arith.def View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/IceInstX86Base.h View 4 chunks +4 lines, -4 lines 0 comments Download
M src/IceInstX86BaseImpl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/IceTargetLoweringX86Base.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/IceTargetLoweringX86BaseImpl.h View 1 1 chunk +222 lines, -99 lines 1 comment Download
M tests_lit/llvm2ice_tests/shift.ll View 1 1 chunk +102 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
sehr
Checkpoint upload before removing commonality. PTAL.
5 years, 3 months ago (2015-09-21 23:53:01 UTC) #2
Jim Stichnoth
Since you pointed out offline that we aren't actually testing i64 shifts by values between ...
5 years, 3 months ago (2015-09-22 05:48:46 UTC) #3
sehr
Fixes in. New CL uploaded. PTAL. https://codereview.chromium.org/1351133003/diff/1/src/IceTargetLoweringX86BaseImpl.h File src/IceTargetLoweringX86BaseImpl.h (left): https://codereview.chromium.org/1351133003/diff/1/src/IceTargetLoweringX86BaseImpl.h#oldcode1187 src/IceTargetLoweringX86BaseImpl.h:1187: // TODO: Refactor ...
5 years, 3 months ago (2015-09-22 16:03:17 UTC) #4
Jim Stichnoth
lgtm
5 years, 3 months ago (2015-09-22 16:07:41 UTC) #5
sehr
Committed patchset #2 (id:20001) manually as 55f2e6d308e8a05dad706a6dd9c18a8f103e63c8 (presubmit successful).
5 years, 3 months ago (2015-09-22 16:17:44 UTC) #6
John
5 years, 3 months ago (2015-09-22 16:18:37 UTC) #7
Message was sent while issue was closed.
lgtm

just curious. LGTM otherwise.

https://codereview.chromium.org/1351133003/diff/20001/src/IceTargetLoweringX8...
File src/IceTargetLoweringX86BaseImpl.h (right):

https://codereview.chromium.org/1351133003/diff/20001/src/IceTargetLoweringX8...
src/IceTargetLoweringX86BaseImpl.h:1250: _test(T_1, BitTest);
would _cmp be safer here? (e.g., T_1 == 512)

Powered by Google App Engine
This is Rietveld 408576698