summaryrefslogtreecommitdiff
path: root/compiler/utils/arm/constants_arm.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2014-10-29 13:02:55 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-10-29 13:02:56 +0000
commitcc4337139de2786bb9038789fb8e3f93697c191c (patch)
tree265b971afd0e33afc8986317aea2f5a6fe817aec /compiler/utils/arm/constants_arm.h
parent7c049c1f34220b0dc1a7f68f3b30f388bae7bdb9 (diff)
parent19a19cffd197a28ae4c9c3e59eff6352fd392241 (diff)
Merge "Add support for static fields in optimizing compiler."
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,