1 # RUN: llvm-mc -triple thumbv7 -show-encoding -disassemble < %s | FileCheck %s 2 3 0x80 0xf9 0x00 0x00 4 0x81 0xf9 0x21 0x10 5 0x81 0xf9 0x42 0x10 6 0x81 0xf9 0x61 0x20 7 0x82 0xf9 0x82 0x20 8 0x82 0xf9 0xa1 0x10 9 0x82 0xf9 0xc2 0x20 10 0x83 0xf9 0xe3 0x30 11 12 # CHECK: vst1.8 {d0[0]}, [r0], r0 @ encoding: [0x80,0xf9,0x00,0x00] 13 # CHECK: vst1.8 {d1[1]}, [r1], r1 @ encoding: [0x81,0xf9,0x21,0x10] 14 # CHECK: vst1.8 {d1[2]}, [r1], r2 @ encoding: [0x81,0xf9,0x42,0x10] 15 # CHECK: vst1.8 {d2[3]}, [r1], r1 @ encoding: [0x81,0xf9,0x61,0x20] 16 # CHECK: vst1.8 {d2[4]}, [r2], r2 @ encoding: [0x82,0xf9,0x82,0x20] 17 # CHECK: vst1.8 {d1[5]}, [r2], r1 @ encoding: [0x82,0xf9,0xa1,0x10] 18 # CHECK: vst1.8 {d2[6]}, [r2], r2 @ encoding: [0x82,0xf9,0xc2,0x20] 19 # CHECK: vst1.8 {d3[7]}, [r3], r3 @ encoding: [0x83,0xf9,0xe3,0x30] 20 21 0x80 0xf9 0x00 0x04 22 0xc3 0xf9 0x13 0x04 23 0xc4 0xf9 0x43 0x04 24 0xc5 0xf9 0x55 0x04 25 0xc6 0xf9 0x85 0x04 26 0xc7 0xf9 0x95 0x74 27 0xc8 0xf9 0xc7 0x84 28 0xc9 0xf9 0xd9 0x94 29 30 # CHECK: vst1.16 {d0[0]}, [r0], r0 @ encoding: [0x80,0xf9,0x00,0x04] 31 # CHECK: vst1.16 {d16[0]}, [r3:16], r3 @ encoding: [0xc3,0xf9,0x13,0x04] 32 # CHECK: vst1.16 {d16[1]}, [r4], r3 @ encoding: [0xc4,0xf9,0x43,0x04] 33 # CHECK: vst1.16 {d16[1]}, [r5:16], r5 @ encoding: [0xc5,0xf9,0x55,0x04] 34 # CHECK: vst1.16 {d16[2]}, [r6], r5 @ encoding: [0xc6,0xf9,0x85,0x04] 35 # CHECK: vst1.16 {d23[2]}, [r7:16], r5 @ encoding: [0xc7,0xf9,0x95,0x74] 36 # CHECK: vst1.16 {d24[3]}, [r8], r7 @ encoding: [0xc8,0xf9,0xc7,0x84] 37 # CHECK: vst1.16 {d25[3]}, [r9:16], r9 @ encoding: [0xc9,0xf9,0xd9,0x94] 38 39 0x8a 0xf9 0x01 0xa8 40 0xcb 0xf9 0x32 0x18 41 0x8c 0xf9 0x83 0xb8 42 0xcd 0xf9 0xb4 0x28 43 44 # CHECK: vst1.32 {d10[0]}, [r10], r1 @ encoding: [0x8a,0xf9,0x01,0xa8] 45 # CHECK: vst1.32 {d17[0]}, [r11:32], r2 @ encoding: [0xcb,0xf9,0x32,0x18] 46 # CHECK: vst1.32 {d11[1]}, [r12], r3 @ encoding: [0x8c,0xf9,0x83,0xb8] 47 # CHECK: vst1.32 {d18[1]}, [sp:32], r4 @ encoding: [0xcd,0xf9,0xb4,0x28] 48 49 0x81 0xf9 0x1f 0x44 50 0x82 0xf9 0x8f 0x30 51 52 # CHECK: vst1.16 {d4[0]}, [r1:16] @ encoding: [0x81,0xf9,0x1f,0x44] 53 # CHECK: vst1.8 {d3[4]}, [r2] @ encoding: [0x82,0xf9,0x8f,0x30] 54 55 0x83 0xf9 0x1d 0x24 56 0x84 0xf9 0x8d 0x10 57 58 # CHECK: vst1.16 {d2[0]}, [r3:16]! @ encoding: [0x83,0xf9,0x1d,0x24] 59 # CHECK: vst1.8 {d1[4]}, [r4]! @ encoding: [0x84,0xf9,0x8d,0x10] 60 61 0x85 0xf9 0x10 0x04 62 0x85 0xf9 0x1a 0x74 63 0x8e 0xf9 0x1a 0x84 64 0x85 0xf9 0x1a 0x94 65 66 # CHECK: vst1.16 {d0[0]}, [r5:16], r0 @ encoding: [0x85,0xf9,0x10,0x04] 67 # CHECK: vst1.16 {d7[0]}, [r5:16], r10 @ encoding: [0x85,0xf9,0x1a,0x74] 68 # CHECK: vst1.16 {d8[0]}, [lr:16], r10 @ encoding: [0x8e,0xf9,0x1a,0x84] 69 # CHECK: vst1.16 {d9[0]}, [r5:16], r10 @ encoding: [0x85,0xf9,0x1a,0x94] 70 71 0x81 0xf9 0x24 0x0b 72 0x82 0xf9 0x25 0x07 73 0x83 0xf9 0x26 0x03 74 75 # CHECK: vst4.32 {d0[0], d1[0], d2[0], d3[0]}, [r1:128], r4 @ encoding: [0x81,0xf9,0x24,0x0b] 76 # CHECK: vst4.16 {d0[0], d2[0], d4[0], d6[0]}, [r2], r5 @ encoding: [0x82,0xf9,0x25,0x07] 77 # CHECK: vst4.8 {d0[1], d1[1], d2[1], d3[1]}, [r3], r6 @ encoding: [0x83,0xf9,0x26,0x03] 78