DescriptionSubzero: 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 #
Messages
Total messages: 5 (1 generated)
|