diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-07-28 16:00:41 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-07-28 16:00:41 +0000 |
commit | 4356636fc02b090627e1fa82f2d94ae50c4f1aa1 (patch) | |
tree | 869e67f04ed80dc0a1b80fb695f00251a70916d5 | |
parent | 72e357fc60b5ee8912559eb746231a4a4dec70ce (diff) | |
download | bcm5719-llvm-4356636fc02b090627e1fa82f2d94ae50c4f1aa1.tar.gz bcm5719-llvm-4356636fc02b090627e1fa82f2d94ae50c4f1aa1.zip |
Update ARM tests for parsing and encoding of WFE, WFI and YIELD.
llvm-svn: 136358
-rw-r--r-- | llvm/test/MC/ARM/arm_instructions.s | 9 | ||||
-rw-r--r-- | llvm/test/MC/ARM/basic-arm-instructions.s | 16 |
2 files changed, 16 insertions, 9 deletions
diff --git a/llvm/test/MC/ARM/arm_instructions.s b/llvm/test/MC/ARM/arm_instructions.s index 68df0ff5f95..b8f16ebb16f 100644 --- a/llvm/test/MC/ARM/arm_instructions.s +++ b/llvm/test/MC/ARM/arm_instructions.s @@ -65,15 +65,6 @@ @ CHECK: cdp2 p7, #1, c1, c1, c1, #4 @ encoding: [0x81,0x17,0x11,0xfe] cdp2 p7, #1, c1, c1, c1, #4 -@ CHECK: wfe @ encoding: [0x02,0xf0,0x20,0xe3] - wfe - -@ CHECK: wfi @ encoding: [0x03,0xf0,0x20,0xe3] - wfi - -@ CHECK: yield @ encoding: [0x01,0xf0,0x20,0xe3] - yield - @ CHECK: cpsie aif @ encoding: [0xc0,0x01,0x08,0xf1] cpsie aif diff --git a/llvm/test/MC/ARM/basic-arm-instructions.s b/llvm/test/MC/ARM/basic-arm-instructions.s index a51fb5ca0c1..72d3b784485 100644 --- a/llvm/test/MC/ARM/basic-arm-instructions.s +++ b/llvm/test/MC/ARM/basic-arm-instructions.s @@ -2320,3 +2320,19 @@ _func: @ CHECK: uxth r9, r3, ror #24 @ encoding: [0x73,0x9c,0xff,0xe6] +@------------------------------------------------------------------------------ +@ WFE/WFI/YIELD +@------------------------------------------------------------------------------ + wfe + wfehi + wfi + wfilt + yield + yieldne + +@ CHECK: wfe @ encoding: [0x02,0xf0,0x20,0xe3] +@ CHECK: wfehi @ encoding: [0x02,0xf0,0x20,0x83] +@ CHECK: wfi @ encoding: [0x03,0xf0,0x20,0xe3] +@ CHECK: wfilt @ encoding: [0x03,0xf0,0x20,0xb3] +@ CHECK: yield @ encoding: [0x01,0xf0,0x20,0xe3] +@ CHECK: yieldne @ encoding: [0x01,0xf0,0x20,0x13] |