[llvm-commits] [llvm] r140120 - /llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s
Jim Grosbach
grosbach at apple.com
Mon Sep 19 17:31:57 PDT 2011
Author: grosbach
Date: Mon Sep 19 19:31:57 2011
New Revision: 140120
URL: http://llvm.org/viewvc/llvm-project?rev=140120&view=rev
Log:
Thumb2 assembly parsing and encoding for USUB8/USUB16.
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=140120&r1=140119&r2=140120&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s Mon Sep 19 19:31:57 2011
@@ -2930,3 +2930,19 @@
@ CHECK: usax r2, r3, r4 @ encoding: [0xe3,0xfa,0x44,0xf2]
@ CHECK: it ne @ encoding: [0x18,0xbf]
@ CHECK: usaxne r6, r1, r9 @ encoding: [0xe1,0xfa,0x49,0xf6]
+
+
+ at ------------------------------------------------------------------------------
+@ USUB16/USUB8
+ at ------------------------------------------------------------------------------
+ usub16 r4, r2, r7
+ usub8 r1, r8, r5
+ ite hi
+ usub16hi r1, r1, r3
+ usub8ls r9, r2, r3
+
+@ CHECK: usub16 r4, r2, r7 @ encoding: [0xd2,0xfa,0x47,0xf4]
+@ CHECK: usub8 r1, r8, r5 @ encoding: [0xc8,0xfa,0x45,0xf1]
+@ CHECK: ite hi @ encoding: [0x8c,0xbf]
+@ CHECK: usub16hi r1, r1, r3 @ encoding: [0xd1,0xfa,0x43,0xf1]
+@ CHECK: usub8ls r9, r2, r3 @ encoding: [0xc2,0xfa,0x43,0xf9]
More information about the llvm-commits
mailing list