commit | 9ff0d205fd60cba6753a91f613b198ca2d67f04d | [log] [tgz] |
---|---|---|
author | Kevin Brodsky <kevin.brodsky@linaro.org> | Mon Jan 11 13:43:31 2016 +0000 |
committer | Roland Levillain <rpl@google.com> | Thu Feb 25 16:26:13 2016 +0000 |
tree | 86689672064d66d2c473045f934f948211ba0389 | |
parent | 950d063395c7cecbbe372fd607468018d661a35c [diff] |
Optimizing: ARM64 negated bitwise operations simplification Use negated instructions on ARM64 to replace [bitwise operation + not] patterns, that is: a & ~b (BIC) a | ~b (ORN) a ^ ~b (EON) The simplification only happens if the Not is only used by the bitwise operation. It does not happen if both inputs are Not's (this should be handled by a generic simplification applying De Morgan's laws). Change-Id: I0e112b23fd8b8e10f09bfeff5994508a8ff96e9c