From 19a19cffd197a28ae4c9c3e59eff6352fd392241 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Wed, 22 Oct 2014 16:07:05 +0100 Subject: Add support for static fields in optimizing compiler. Change-Id: Id2f010589e2bd6faf42c05bb33abf6816ebe9fa9 --- compiler/utils/arm/constants_arm.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'compiler/utils/arm/constants_arm.h') 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, -- cgit v1.2.3-59-g8ed1b