diff options
| author | Jim Grosbach <grosbach@apple.com> | 2011-09-06 22:14:58 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2011-09-06 22:14:58 +0000 |
| commit | e95f46384e334c0b17888d9f810192ca3a2fec22 (patch) | |
| tree | 2302be728362a183d09bc65a54a96619a8737161 /llvm/lib | |
| parent | 474c455060009f6f28d27f9da6ef5e0d6852cc23 (diff) | |
| download | bcm5719-llvm-e95f46384e334c0b17888d9f810192ca3a2fec22.tar.gz bcm5719-llvm-e95f46384e334c0b17888d9f810192ca3a2fec22.zip | |
Thumb2 parsing and encoding for DMB.
llvm-svn: 139193
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMInstrThumb2.td | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb2.td b/llvm/lib/Target/ARM/ARMInstrThumb2.td index 8a1bcc2d64a..7fcb4b07e56 100644 --- a/llvm/lib/Target/ARM/ARMInstrThumb2.td +++ b/llvm/lib/Target/ARM/ARMInstrThumb2.td @@ -3588,3 +3588,7 @@ def : t2InstAlias<"teq${p} $Rn, $Rm", def : t2InstAlias<"tst${p} $Rn, $Rm", (t2TSTrr GPRnopc:$Rn, rGPR:$Rm, pred:$p)>; +// Memory barriers +def : InstAlias<"dmb", (t2DMB 0xf)>, Requires<[IsThumb2, HasDB]>; +def : InstAlias<"dsb", (t2DSB 0xf)>, Requires<[IsThumb2, HasDB]>; +//def : InstAlias<"isb", (t2ISB 0xf)>, Requires<[IsThumb2, HasDB]>; |

