[llvm-commits] [llvm] r138364 - /llvm/trunk/test/MC/ARM/basic-thumb-instructions.s

Jim Grosbach grosbach at apple.com
Tue Aug 23 13:02:30 PDT 2011


Author: grosbach
Date: Tue Aug 23 15:02:30 2011
New Revision: 138364

URL: http://llvm.org/viewvc/llvm-project?rev=138364&view=rev
Log:
Thumb parsing and encoding for WFE, WFI and YIELD.

Modified:
    llvm/trunk/test/MC/ARM/basic-thumb-instructions.s

Modified: llvm/trunk/test/MC/ARM/basic-thumb-instructions.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/basic-thumb-instructions.s?rev=138364&r1=138363&r2=138364&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/basic-thumb-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/basic-thumb-instructions.s Tue Aug 23 15:02:30 2011
@@ -571,3 +571,15 @@
 
 @ CHECK: uxtb	r7, r2                  @ encoding: [0xd7,0xb2]
 @ CHECK: uxth	r1, r4                  @ encoding: [0xa1,0xb2]
+
+
+ at ------------------------------------------------------------------------------
+@ WFE/WFI/YIELD
+ at ------------------------------------------------------------------------------
+        wfe
+        wfi
+        yield
+
+@ CHECK: wfe                             @ encoding: [0x20,0xbf]
+@ CHECK: wfi                             @ encoding: [0x30,0xbf]
+@ CHECK: yield                           @ encoding: [0x10,0xbf]





More information about the llvm-commits mailing list