diff options
author | 2015-09-14 15:13:26 +0100 | |
---|---|---|
committer | 2015-10-14 12:20:59 +0100 | |
commit | d2b4ca2d02c86b1ce1826fd2b35ce6c9c58c1ff1 (patch) | |
tree | dab4cdfacd3e7cb529f3b0de931c8a173039571f /compiler/utils/arm/constants_arm.h | |
parent | fb11bab9bc96ff05dcb12f43abf58df256b7c7aa (diff) |
Improve Thumb2 bitwise operations.
Allow embedding constants in AND, ORR, EOR. Add ORN to
assembler, use BIC and ORN for AND and ORR when needed.
Change-Id: I24d69ecc7ce6992b9c5eb7a313ff47a942de9661
Diffstat (limited to 'compiler/utils/arm/constants_arm.h')
-rw-r--r-- | compiler/utils/arm/constants_arm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/utils/arm/constants_arm.h b/compiler/utils/arm/constants_arm.h index 6b4daed909..2060064423 100644 --- a/compiler/utils/arm/constants_arm.h +++ b/compiler/utils/arm/constants_arm.h @@ -148,7 +148,8 @@ enum Opcode { MOV = 13, // Move BIC = 14, // Bit Clear MVN = 15, // Move Not - kMaxOperand = 16 + ORN = 16, // Logical OR NOT. + kMaxOperand = 17 }; std::ostream& operator<<(std::ostream& os, const Opcode& rhs); |