Update ARM tests for parsing and encoding of WFE, WFI and YIELD.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136358 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2011-07-28 16:00:41 +00:00
parent 2ff4bc6155
commit 19b9d6912a
2 changed files with 16 additions and 9 deletions

View File

@ -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

View File

@ -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]