@ RUN: llvm-mc -mcpu=cortex-a8 -triple thumbv7 -show-encoding < %s | FileCheck %s
@ Uses printT2SOOperand(), used by t2ADCrs t2ADDrs t2ANDrs t2BICrs t2EORrs
@ t2ORNrs t2ORRrs t2RSBrs t2SBCrs t2SUBrs t2CMNzrs t2CMPrs t2MOVSsi t2MOVsi
@ t2MVNs t2TEQrs t2TSTrs
sbc.w r12, lr, r0
sbc.w r1, r8, r9, lsr sbc.w r2, r7, r10, lsr sbc.w r3, r6, r10, lsl sbc.w r4, r5, lr, lsl sbc.w r5, r4, r11, asr sbc.w r6, r3, r12, asr sbc.w r7, r2, r12, rrx
sbc.w r8, r1, r0, ror
@ CHECK: sbc.w r12, lr, r0 @ encoding: [0x6e,0xeb,0x00,0x0c]
@ CHECK: sbc.w r1, r8, r9, lsr @ CHECK: sbc.w r2, r7, r10, lsr @ CHECK: sbc.w r3, r6, r10 @ encoding: [0x66,0xeb,0x0a,0x03]
@ CHECK: sbc.w r4, r5, lr, lsl @ CHECK: sbc.w r5, r4, r11, asr @ CHECK: sbc.w r6, r3, r12, asr @ CHECK: sbc.w r7, r2, r12, rrx @ encoding: [0x62,0xeb,0x3c,0x07]
@ CHECK: sbc.w r8, r1, r0, ror
and.w r12, lr, r0
and.w r1, r8, r9, lsr and.w r2, r7, r10, lsr and.w r3, r6, r10, lsl and.w r4, r5, lr, lsl and.w r5, r4, r11, asr and.w r6, r3, r12, asr and.w r7, r2, r12, rrx
and.w r8, r1, r0, ror
@ CHECK: and.w r12, lr, r0 @ encoding: [0x0e,0xea,0x00,0x0c]
@ CHECK: and.w r1, r8, r9, lsr @ CHECK: and.w r2, r7, r10, lsr @ CHECK: and.w r3, r6, r10 @ encoding: [0x06,0xea,0x0a,0x03]
@ CHECK: and.w r4, r5, lr, lsl @ CHECK: and.w r5, r4, r11, asr @ CHECK: and.w r6, r3, r12, asr @ CHECK: and.w r7, r2, r12, rrx @ encoding: [0x02,0xea,0x3c,0x07]
@ CHECK: and.w r8, r1, r0, ror