summaryrefslogtreecommitdiff
path: root/compiler/utils/arm/constants_arm.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2014-10-22 16:07:05 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2014-10-29 13:01:48 +0000
commit19a19cffd197a28ae4c9c3e59eff6352fd392241 (patch)
tree265b971afd0e33afc8986317aea2f5a6fe817aec /compiler/utils/arm/constants_arm.h
parent7c049c1f34220b0dc1a7f68f3b30f388bae7bdb9 (diff)
Add support for static fields in optimizing compiler.
Change-Id: Id2f010589e2bd6faf42c05bb33abf6816ebe9fa9
Diffstat (limited to 'compiler/utils/arm/constants_arm.h')
-rw-r--r--compiler/utils/arm/constants_arm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/compiler/utils/arm/constants_arm.h b/compiler/utils/arm/constants_arm.h
index 092c89192d..702e03a277 100644
--- a/compiler/utils/arm/constants_arm.h
+++ b/compiler/utils/arm/constants_arm.h
@@ -47,6 +47,16 @@ namespace arm {
#error "Exactly one of VFPv3_D16 or VFPv3_D32 can be defined at a time."
#endif
+// 4 bits option for the dmb instruction.
+// Order and values follows those of the ARM Architecture Reference Manual.
+enum DmbOptions {
+ SY = 0xf,
+ ST = 0xe,
+ ISH = 0xb,
+ ISHST = 0xa,
+ NSH = 0x7,
+ NSHST = 0x6
+};
enum ScaleFactor {
TIMES_1 = 0,