Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index cfdaea0b1d4a9bee9dd128cdad0a3a6243674f08..b0fa462c9fe81f1f10b7a8b4e11d0c331303840b 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -2145,6 +2145,21 @@ void Assembler::svc(uint32_t imm24, Condition cond) { |
} |
+void Assembler::dmb(BarrierOption option) { |
+ emit(kSpecialCondition | 0x57ff*B12 | 5*B4 | option); |
+} |
+ |
+ |
+void Assembler::dsb(BarrierOption option) { |
+ emit(kSpecialCondition | 0x57ff*B12 | 4*B4 | option); |
+} |
+ |
+ |
+void Assembler::isb(BarrierOption option) { |
+ emit(kSpecialCondition | 0x57ff*B12 | 6*B4 | option); |
+} |
+ |
+ |
// Coprocessor instructions. |
void Assembler::cdp(Coprocessor coproc, |
int opcode_1, |