[llvm-commits] [llvm] r136289 - /llvm/trunk/test/MC/ARM/basic-arm-instructions.s
Jim Grosbach
grosbach at apple.com
Wed Jul 27 16:10:05 PDT 2011
Author: grosbach
Date: Wed Jul 27 18:10:05 2011
New Revision: 136289
URL: http://llvm.org/viewvc/llvm-project?rev=136289&view=rev
Log:
ARM assembly parsing and encoding for USUB16 and USUB8.
Modified:
llvm/trunk/test/MC/ARM/basic-arm-instructions.s
Modified: llvm/trunk/test/MC/ARM/basic-arm-instructions.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/basic-arm-instructions.s?rev=136289&r1=136288&r2=136289&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/basic-arm-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/basic-arm-instructions.s Wed Jul 27 18:10:05 2011
@@ -2195,3 +2195,16 @@
@ CHECK: usax r2, r3, r4 @ encoding: [0x54,0x2f,0x53,0xe6]
@ CHECK: usaxne r2, r3, r4 @ encoding: [0x54,0x2f,0x53,0x16]
+ at ------------------------------------------------------------------------------
+@ USUB16/USUB8
+ at ------------------------------------------------------------------------------
+ usub16 r4, r2, r7
+ usub16hi r1, r1, r3
+ usub8 r1, r8, r5
+ usub8le r9, r2, r3
+
+@ CHECK: usub16 r4, r2, r7 @ encoding: [0x77,0x4f,0x52,0xe6]
+@ CHECK: usub16hi r1, r1, r3 @ encoding: [0x73,0x1f,0x51,0x86]
+@ CHECK: usub8 r1, r8, r5 @ encoding: [0xf5,0x1f,0x58,0xe6]
+@ CHECK: usub8le r9, r2, r3 @ encoding: [0xf3,0x9f,0x52,0xd6]
+
More information about the llvm-commits
mailing list