Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ART: Fix whitespace in test | David Brazdil | 2015-04-16 | 1 | -2/+2 |
| | | | | Change-Id: Ia17ac99868efcc7ff32ea63f72644097dd2065bf | ||||
* | ART: Implement HBooleanNot instruction | David Brazdil | 2015-04-15 | 4 | -0/+85 |
Optimizations simplifying operations on boolean values (boolean simplifier, instruction simplifier) can benefit from having a special HInstruction for negating booleans in order to perform more transforms and produce faster machine code. This patch implements HBooleanNot as 'x xor 1', assuming that booleans are 1-bit integers and allowing for a single-instruction negation on all supported platforms. Change-Id: I33a2649c1821255b18a86ca68ed16416063c739f |