[llvm-commits] [llvm] r140025 - /llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s
Jim Grosbach
grosbach at apple.com
Mon Sep 19 10:40:35 PDT 2011
Author: grosbach
Date: Mon Sep 19 12:40:35 2011
New Revision: 140025
URL: http://llvm.org/viewvc/llvm-project?rev=140025&view=rev
Log:
Thumb2 assembly parsing and encoding for SVC.
Modified:
llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s
Modified: llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s?rev=140025&r1=140024&r2=140025&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s Mon Sep 19 12:40:35 2011
@@ -2437,3 +2437,17 @@
@ CHECK: sub.w r4, r5, r6, ror #5 @ encoding: [0xa5,0xeb,0x76,0x14]
@ CHECK: sub.w r5, r2, r12, rrx @ encoding: [0xa2,0xeb,0x3c,0x05]
+
+ at ------------------------------------------------------------------------------
+@ SVC
+ at ------------------------------------------------------------------------------
+ svc #0
+ ite eq
+ svceq #255
+ swine #33
+
+@ CHECK: svc #0 @ encoding: [0x00,0xdf]
+@ CHECK: ite eq @ encoding: [0x0c,0xbf]
+@ CHECK: svceq #255 @ encoding: [0xff,0xdf]
+@ CHECK: svcne #33 @ encoding: [0x21,0xdf]
+
More information about the llvm-commits
mailing list