[llvm-commits] [llvm] r137949 - /llvm/trunk/test/MC/ARM/basic-thumb-instructions.s
Jim Grosbach
grosbach at apple.com
Thu Aug 18 10:02:28 PDT 2011
Author: grosbach
Date: Thu Aug 18 12:02:28 2011
New Revision: 137949
URL: http://llvm.org/viewvc/llvm-project?rev=137949&view=rev
Log:
ARM assembly parsing and encoding test for BX/BLX (register).
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=137949&r1=137948&r2=137949&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/basic-thumb-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/basic-thumb-instructions.s Thu Aug 18 12:02:28 2011
@@ -118,3 +118,19 @@
@ fixup A - offset: 0, value: _bar, kind: fixup_arm_thumb_bl
@ CHECK: blx _baz @ encoding: [A,0xf0'A',A,0xe8'A']
@ fixup A - offset: 0, value: _baz, kind: fixup_arm_thumb_blx
+
+
+ at ------------------------------------------------------------------------------
+@ BLX (register)
+ at ------------------------------------------------------------------------------
+ blx r4
+
+@ CHECK: blx r4 @ encoding: [0xa0,0x47]
+
+
+ at ------------------------------------------------------------------------------
+@ BX
+ at ------------------------------------------------------------------------------
+ bx r2
+
+@ CHECK: bx r2 @ encoding: [0x10,0x47]
More information about the llvm-commits
mailing list