[llvm-commits] [llvm] r135715 - /llvm/trunk/test/MC/ARM/basic-arm-instructions.s
Jim Grosbach
grosbach at apple.com
Thu Jul 21 16:00:50 PDT 2011
Author: grosbach
Date: Thu Jul 21 18:00:49 2011
New Revision: 135715
URL: http://llvm.org/viewvc/llvm-project?rev=135715&view=rev
Log:
ARM testcases for SADD/SASX parsing and encoding.
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=135715&r1=135714&r2=135715&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/basic-arm-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/basic-arm-instructions.s Thu Jul 21 18:00:49 2011
@@ -1216,6 +1216,29 @@
@ CHECK: rsc r6, r6, r7, asr r9 @ encoding: [0x57,0x69,0xe6,0xe0]
@ CHECK: rsc r6, r6, r7, ror r9 @ encoding: [0x77,0x69,0xe6,0xe0]
+ at ------------------------------------------------------------------------------
+@ SADD16/SADD8
+ at ------------------------------------------------------------------------------
+ sadd16 r1, r2, r3
+ sadd16gt r1, r2, r3
+ sadd8 r1, r2, r3
+ sadd8le r1, r2, r3
+
+@ CHECK: sadd16 r1, r2, r3 @ encoding: [0x13,0x1f,0x12,0xe6]
+@ CHECK: sadd16gt r1, r2, r3 @ encoding: [0x13,0x1f,0x12,0xc6]
+@ CHECK: sadd8 r1, r2, r3 @ encoding: [0x93,0x1f,0x12,0xe6]
+@ CHECK: sadd8le r1, r2, r3 @ encoding: [0x93,0x1f,0x12,0xd6]
+
+
+ at ------------------------------------------------------------------------------
+@ SASX
+ at ------------------------------------------------------------------------------
+ sasx r9, r12, r0
+ sasxeq r9, r12, r0
+
+@ CHECK: sasx r9, r12, r0 @ encoding: [0x30,0x9f,0x1c,0xe6]
+@ CHECK: sasxeq r9, r12, r0 @ encoding: [0x30,0x9f,0x1c,0x06]
+
@------------------------------------------------------------------------------
@ STM*
More information about the llvm-commits
mailing list