Home | History | Annotate | Download | only in ARM
      1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple thumbv7 -show-encoding < %s | FileCheck %s
      2 
      3 @ Uses printT2SOOperand(), used by t2ADCrs t2ADDrs t2ANDrs t2BICrs t2EORrs
      4 @ t2ORNrs t2ORRrs t2RSBrs t2SBCrs t2SUBrs t2CMNzrs t2CMPrs t2MOVSsi t2MOVsi
      5 @ t2MVNs t2TEQrs t2TSTrs
      6 
      7 	sbc.w r12, lr, r0
      8 	sbc.w r1, r8, r9, lsr #32
      9 	sbc.w r2, r7, r10, lsr #16
     10 	sbc.w r3, r6, r10, lsl #0
     11 	sbc.w r4, r5, lr, lsl #16
     12 	sbc.w r5, r4, r11, asr #32
     13 	sbc.w r6, r3, r12, asr #16
     14 	sbc.w r7, r2, r12, rrx
     15 	sbc.w r8, r1, r0, ror #16
     16 
     17 @ CHECK: sbc.w r12, lr, r0          @ encoding: [0x6e,0xeb,0x00,0x0c]
     18 @ CHECK: sbc.w r1, r8, r9, lsr #32  @ encoding: [0x68,0xeb,0x19,0x01]
     19 @ CHECK: sbc.w r2, r7, r10, lsr #16 @ encoding: [0x67,0xeb,0x1a,0x42]
     20 @ CHECK: sbc.w r3, r6, r10          @ encoding: [0x66,0xeb,0x0a,0x03]
     21 @ CHECK: sbc.w r4, r5, lr, lsl #16  @ encoding: [0x65,0xeb,0x0e,0x44]
     22 @ CHECK: sbc.w r5, r4, r11, asr #32 @ encoding: [0x64,0xeb,0x2b,0x05]
     23 @ CHECK: sbc.w r6, r3, r12, asr #16 @ encoding: [0x63,0xeb,0x2c,0x46]
     24 @ CHECK: sbc.w r7, r2, r12, rrx     @ encoding: [0x62,0xeb,0x3c,0x07]
     25 @ CHECK: sbc.w r8, r1, r0, ror #16  @ encoding: [0x61,0xeb,0x30,0x48]
     26 
     27 	and.w r12, lr, r0
     28 	and.w r1, r8, r9, lsr #32
     29 	and.w r2, r7, r10, lsr #16
     30 	and.w r3, r6, r10, lsl #0
     31 	and.w r4, r5, lr, lsl #16
     32 	and.w r5, r4, r11, asr #32
     33 	and.w r6, r3, r12, asr #16
     34 	and.w r7, r2, r12, rrx
     35 	and.w r8, r1, r0, ror #16
     36 
     37 @ CHECK: and.w r12, lr, r0          @ encoding: [0x0e,0xea,0x00,0x0c]
     38 @ CHECK: and.w r1, r8, r9, lsr #32  @ encoding: [0x08,0xea,0x19,0x01]
     39 @ CHECK: and.w r2, r7, r10, lsr #16 @ encoding: [0x07,0xea,0x1a,0x42]
     40 @ CHECK: and.w r3, r6, r10          @ encoding: [0x06,0xea,0x0a,0x03]
     41 @ CHECK: and.w r4, r5, lr, lsl #16  @ encoding: [0x05,0xea,0x0e,0x44]
     42 @ CHECK: and.w r5, r4, r11, asr #32 @ encoding: [0x04,0xea,0x2b,0x05]
     43 @ CHECK: and.w r6, r3, r12, asr #16 @ encoding: [0x03,0xea,0x2c,0x46]
     44 @ CHECK: and.w r7, r2, r12, rrx     @ encoding: [0x02,0xea,0x3c,0x07]
     45 @ CHECK: and.w r8, r1, r0, ror #16  @ encoding: [0x01,0xea,0x30,0x48]
     46