1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

ARM testcases for SADD/SASX parsing and encoding.

llvm-svn: 135715
This commit is contained in:
Jim Grosbach 2011-07-21 23:00:49 +00:00
parent e01d74a920
commit 901aeb1ffa

View File

@ -1216,6 +1216,29 @@ _func:
@ CHECK: rsc r6, r6, r7, asr r9 @ encoding: [0x57,0x69,0xe6,0xe0]
@ CHECK: rsc r6, r6, r7, ror r9 @ encoding: [0x77,0x69,0xe6,0xe0]
@------------------------------------------------------------------------------
@ SADD16/SADD8
@------------------------------------------------------------------------------
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]
@------------------------------------------------------------------------------
@ SASX
@------------------------------------------------------------------------------
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*