diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-08-23 20:02:30 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-08-23 20:02:30 +0000 |
commit | 99e84e07ff94f24fdbd05f21d4cf5afb822542fe (patch) | |
tree | 4a389eeda5e644883e5c4bf1a8f8a6fea78c10c6 | |
parent | 3284db5bfbd313da3492bcae36cbe7305071c05c (diff) |
Thumb parsing and encoding for WFE, WFI and YIELD.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138364 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/MC/ARM/basic-thumb-instructions.s | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-thumb-instructions.s b/test/MC/ARM/basic-thumb-instructions.s index 489fcd4e6d..88500d3dc4 100644 --- a/test/MC/ARM/basic-thumb-instructions.s +++ b/test/MC/ARM/basic-thumb-instructions.s @@ -571,3 +571,15 @@ _func: @ CHECK: uxtb r7, r2 @ encoding: [0xd7,0xb2] @ CHECK: uxth r1, r4 @ encoding: [0xa1,0xb2] + + +@------------------------------------------------------------------------------ +@ WFE/WFI/YIELD +@------------------------------------------------------------------------------ + wfe + wfi + yield + +@ CHECK: wfe @ encoding: [0x20,0xbf] +@ CHECK: wfi @ encoding: [0x30,0xbf] +@ CHECK: yield @ encoding: [0x10,0xbf] |