Home | History | Annotate | Download | only in ARM
      1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple arm-unknown-unknown -show-encoding < %s | FileCheck %s
      2 
      3         vmax.s8 d1, d2, d3
      4         vmax.s16 d4, d5, d6
      5         vmax.s32 d7, d8, d9
      6         vmax.u8 d10, d11, d12
      7         vmax.u16 d13, d14, d15
      8         vmax.u32 d16, d17, d18
      9         vmax.f32 d19, d20, d21
     10 
     11         vmax.s8 d2, d3
     12         vmax.s16 d5, d6
     13         vmax.s32 d8, d9
     14         vmax.u8 d11, d12
     15         vmax.u16 d14, d15
     16         vmax.u32 d17, d18
     17         vmax.f32 d20, d21
     18 
     19         vmax.s8 q1, q2, q3
     20         vmax.s16 q4, q5, q6
     21         vmax.s32 q7, q8, q9
     22         vmax.u8 q10, q11, q12
     23         vmax.u16 q13, q14, q15
     24         vmax.u32 q6, q7, q8
     25         vmax.f32 q9, q5, q1
     26 
     27         vmax.s8 q2, q3
     28         vmax.s16 q5, q6
     29         vmax.s32 q8, q9
     30         vmax.u8 q11, q2
     31         vmax.u16 q4, q5
     32         vmax.u32 q7, q8
     33         vmax.f32 q2, q1
     34 
     35 @ CHECK: vmax.s8	d1, d2, d3      @ encoding: [0x03,0x16,0x02,0xf2]
     36 @ CHECK: vmax.s16	d4, d5, d6      @ encoding: [0x06,0x46,0x15,0xf2]
     37 @ CHECK: vmax.s32	d7, d8, d9      @ encoding: [0x09,0x76,0x28,0xf2]
     38 @ CHECK: vmax.u8	d10, d11, d12   @ encoding: [0x0c,0xa6,0x0b,0xf3]
     39 @ CHECK: vmax.u16	d13, d14, d15   @ encoding: [0x0f,0xd6,0x1e,0xf3]
     40 @ CHECK: vmax.u32	d16, d17, d18   @ encoding: [0xa2,0x06,0x61,0xf3]
     41 @ CHECK: vmax.f32	d19, d20, d21   @ encoding: [0xa5,0x3f,0x44,0xf2]
     42 @ CHECK: vmax.s8	d2, d2, d3      @ encoding: [0x03,0x26,0x02,0xf2]
     43 @ CHECK: vmax.s16	d5, d5, d6      @ encoding: [0x06,0x56,0x15,0xf2]
     44 @ CHECK: vmax.s32	d8, d8, d9      @ encoding: [0x09,0x86,0x28,0xf2]
     45 @ CHECK: vmax.u8	d11, d11, d12   @ encoding: [0x0c,0xb6,0x0b,0xf3]
     46 @ CHECK: vmax.u16	d14, d14, d15   @ encoding: [0x0f,0xe6,0x1e,0xf3]
     47 @ CHECK: vmax.u32	d17, d17, d18   @ encoding: [0xa2,0x16,0x61,0xf3]
     48 @ CHECK: vmax.f32	d20, d20, d21   @ encoding: [0xa5,0x4f,0x44,0xf2]
     49 @ CHECK: vmax.s8	q1, q2, q3      @ encoding: [0x46,0x26,0x04,0xf2]
     50 @ CHECK: vmax.s16	q4, q5, q6      @ encoding: [0x4c,0x86,0x1a,0xf2]
     51 @ CHECK: vmax.s32	q7, q8, q9      @ encoding: [0xe2,0xe6,0x20,0xf2]
     52 @ CHECK: vmax.u8	q10, q11, q12   @ encoding: [0xe8,0x46,0x46,0xf3]
     53 @ CHECK: vmax.u16	q13, q14, q15   @ encoding: [0xee,0xa6,0x5c,0xf3]
     54 @ CHECK: vmax.u32	q6, q7, q8      @ encoding: [0x60,0xc6,0x2e,0xf3]
     55 @ CHECK: vmax.f32	q9, q5, q1      @ encoding: [0x42,0x2f,0x4a,0xf2]
     56 @ CHECK: vmax.s8	q2, q2, q3      @ encoding: [0x46,0x46,0x04,0xf2]
     57 @ CHECK: vmax.s16	q5, q5, q6      @ encoding: [0x4c,0xa6,0x1a,0xf2]
     58 @ CHECK: vmax.s32	q8, q8, q9      @ encoding: [0xe2,0x06,0x60,0xf2]
     59 @ CHECK: vmax.u8	q11, q11, q2    @ encoding: [0xc4,0x66,0x46,0xf3]
     60 @ CHECK: vmax.u16	q4, q4, q5      @ encoding: [0x4a,0x86,0x18,0xf3]
     61 @ CHECK: vmax.u32	q7, q7, q8      @ encoding: [0x60,0xe6,0x2e,0xf3]
     62 @ CHECK: vmax.f32	q2, q2, q1      @ encoding: [0x42,0x4f,0x04,0xf2]
     63 
     64 
     65         vmin.s8 d1, d2, d3
     66         vmin.s16 d4, d5, d6
     67         vmin.s32 d7, d8, d9
     68         vmin.u8 d10, d11, d12
     69         vmin.u16 d13, d14, d15
     70         vmin.u32 d16, d17, d18
     71         vmin.f32 d19, d20, d21
     72 
     73         vmin.s8 d2, d3
     74         vmin.s16 d5, d6
     75         vmin.s32 d8, d9
     76         vmin.u8 d11, d12
     77         vmin.u16 d14, d15
     78         vmin.u32 d17, d18
     79         vmin.f32 d20, d21
     80 
     81         vmin.s8 q1, q2, q3
     82         vmin.s16 q4, q5, q6
     83         vmin.s32 q7, q8, q9
     84         vmin.u8 q10, q11, q12
     85         vmin.u16 q13, q14, q15
     86         vmin.u32 q6, q7, q8
     87         vmin.f32 q9, q5, q1
     88 
     89         vmin.s8 q2, q3
     90         vmin.s16 q5, q6
     91         vmin.s32 q8, q9
     92         vmin.u8 q11, q2
     93         vmin.u16 q4, q5
     94         vmin.u32 q7, q8
     95         vmin.f32 q2, q1
     96 
     97 @ CHECK: vmin.s8	d1, d2, d3      @ encoding: [0x13,0x16,0x02,0xf2]
     98 @ CHECK: vmin.s16	d4, d5, d6      @ encoding: [0x16,0x46,0x15,0xf2]
     99 @ CHECK: vmin.s32	d7, d8, d9      @ encoding: [0x19,0x76,0x28,0xf2]
    100 @ CHECK: vmin.u8	d10, d11, d12   @ encoding: [0x1c,0xa6,0x0b,0xf3]
    101 @ CHECK: vmin.u16	d13, d14, d15   @ encoding: [0x1f,0xd6,0x1e,0xf3]
    102 @ CHECK: vmin.u32	d16, d17, d18   @ encoding: [0xb2,0x06,0x61,0xf3]
    103 @ CHECK: vmin.f32	d19, d20, d21   @ encoding: [0xa5,0x3f,0x64,0xf2]
    104 @ CHECK: vmin.s8	d2, d2, d3      @ encoding: [0x13,0x26,0x02,0xf2]
    105 @ CHECK: vmin.s16	d5, d5, d6      @ encoding: [0x16,0x56,0x15,0xf2]
    106 @ CHECK: vmin.s32	d8, d8, d9      @ encoding: [0x19,0x86,0x28,0xf2]
    107 @ CHECK: vmin.u8	d11, d11, d12   @ encoding: [0x1c,0xb6,0x0b,0xf3]
    108 @ CHECK: vmin.u16	d14, d14, d15   @ encoding: [0x1f,0xe6,0x1e,0xf3]
    109 @ CHECK: vmin.u32	d17, d17, d18   @ encoding: [0xb2,0x16,0x61,0xf3]
    110 @ CHECK: vmin.f32	d20, d20, d21   @ encoding: [0xa5,0x4f,0x64,0xf2]
    111 @ CHECK: vmin.s8	q1, q2, q3      @ encoding: [0x56,0x26,0x04,0xf2]
    112 @ CHECK: vmin.s16	q4, q5, q6      @ encoding: [0x5c,0x86,0x1a,0xf2]
    113 @ CHECK: vmin.s32	q7, q8, q9      @ encoding: [0xf2,0xe6,0x20,0xf2]
    114 @ CHECK: vmin.u8	q10, q11, q12   @ encoding: [0xf8,0x46,0x46,0xf3]
    115 @ CHECK: vmin.u16	q13, q14, q15   @ encoding: [0xfe,0xa6,0x5c,0xf3]
    116 @ CHECK: vmin.u32	q6, q7, q8      @ encoding: [0x70,0xc6,0x2e,0xf3]
    117 @ CHECK: vmin.f32	q9, q5, q1      @ encoding: [0x42,0x2f,0x6a,0xf2]
    118 @ CHECK: vmin.s8	q2, q2, q3      @ encoding: [0x56,0x46,0x04,0xf2]
    119 @ CHECK: vmin.s16	q5, q5, q6      @ encoding: [0x5c,0xa6,0x1a,0xf2]
    120 @ CHECK: vmin.s32	q8, q8, q9      @ encoding: [0xf2,0x06,0x60,0xf2]
    121 @ CHECK: vmin.u8	q11, q11, q2    @ encoding: [0xd4,0x66,0x46,0xf3]
    122 @ CHECK: vmin.u16	q4, q4, q5      @ encoding: [0x5a,0x86,0x18,0xf3]
    123 @ CHECK: vmin.u32	q7, q7, q8      @ encoding: [0x70,0xe6,0x2e,0xf3]
    124 @ CHECK: vmin.f32	q2, q2, q1      @ encoding: [0x42,0x4f,0x24,0xf2]
    125