mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
ARM testcases for SADD/SASX parsing and encoding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135715 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d81c97c8a
commit
8ae45af794
@ -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*
|
||||
|
Loading…
Reference in New Issue
Block a user