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

Issue 1193103005: Subzero: Apply commutativity to the RMW optimization. (Closed)

Created:
5 years, 6 months ago by Jim Stichnoth
Modified:
5 years, 6 months ago
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

Subzero: Apply commutativity to the RMW optimization. The read-modify-write (RMW) optimization looks for patterns like this: a = Load addr b = <op> a, other Store b, addr and essentially transforms them into this: RMW <op>, addr, other This CL also applies the transformation when the middle instruction is b = <op> other, a and <op> is commutative. BUG= https://code.google.com/p/nativeclient/issues/detail?id=4095 R=jpp@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=8525c3297fbf841e6c48ebd2af10f5d9ef66848b

Patch Set 1 #

Patch Set 2 : Simplify the logic #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -6 lines) Patch
M src/IceTargetLoweringX8632.cpp View 1 2 chunks +8 lines, -6 lines 0 comments Download
M tests_lit/llvm2ice_tests/rmw.ll View 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Jim Stichnoth
Simplify the logic
5 years, 6 months ago (2015-06-22 13:43:24 UTC) #2
Jim Stichnoth
This captures a few dozen more opportunities (some even in hot code) across spec2k.
5 years, 6 months ago (2015-06-22 13:45:32 UTC) #3
John
lgtm
5 years, 6 months ago (2015-06-22 14:30:02 UTC) #4
Jim Stichnoth
5 years, 6 months ago (2015-06-22 17:36:51 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
8525c3297fbf841e6c48ebd2af10f5d9ef66848b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698