Home | History | Annotate | Download | only in AMDGPU
      1 // RUN: llvm-mc -arch=amdgcn -mcpu=fiji -show-encoding %s | FileCheck -check-prefix=VI %s
      2 // RUN: not llvm-mc -arch=amdgcn -mcpu=tahiti -show-encoding %s 2>&1 | FileCheck -check-prefix=NOSICI %s
      3     // RUN: not llvm-mc -arch=amdgcn -mcpu=hawaii -show-encoding %s 2>&1 | FileCheck -check-prefix=NOSICI %s
      4 
      5 v_cmp_class_f16 vcc, v2, v4
      6 // VI: v_cmp_class_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x28,0x7c]
      7 // NOSICI: error: instruction not supported on this GPU
      8 
      9 v_cmpx_class_f16 vcc, v2, v4
     10 // VI: v_cmpx_class_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x2a,0x7c]
     11 // NOSICI: error: instruction not supported on this GPU
     12 
     13 v_cmp_f_f16 vcc, v2, v4
     14 // VI: v_cmp_f_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x40,0x7c]
     15 // NOSICI: error: instruction not supported on this GPU
     16 
     17 v_cmp_lt_f16 vcc, v2, v4
     18 // VI: v_cmp_lt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x42,0x7c]
     19 // NOSICI: error: instruction not supported on this GPU
     20 
     21 v_cmp_eq_f16 vcc, v2, v4
     22 // VI: v_cmp_eq_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x44,0x7c]
     23 // NOSICI: error: instruction not supported on this GPU
     24 
     25 v_cmp_le_f16 vcc, v2, v4
     26 // VI: v_cmp_le_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x46,0x7c]
     27 // NOSICI: error: instruction not supported on this GPU
     28 
     29 v_cmp_gt_f16 vcc, v2, v4
     30 // VI: v_cmp_gt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x48,0x7c]
     31 // NOSICI: error: instruction not supported on this GPU
     32 
     33 v_cmp_lg_f16 vcc, v2, v4
     34 // VI: v_cmp_lg_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4a,0x7c]
     35 // NOSICI: error: instruction not supported on this GPU
     36 
     37 v_cmp_ge_f16 vcc, v2, v4
     38 // VI: v_cmp_ge_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4c,0x7c]
     39 // NOSICI: error: instruction not supported on this GPU
     40 
     41 v_cmp_o_f16 vcc, v2, v4
     42 // VI: v_cmp_o_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4e,0x7c]
     43 // NOSICI: error: instruction not supported on this GPU
     44 
     45 v_cmp_u_f16 vcc, v2, v4
     46 // VI: v_cmp_u_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x50,0x7c]
     47 // NOSICI: error: instruction not supported on this GPU
     48 
     49 v_cmp_nge_f16 vcc, v2, v4
     50 // VI: v_cmp_nge_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x52,0x7c]
     51 // NOSICI: error: instruction not supported on this GPU
     52 
     53 v_cmp_nlg_f16 vcc, v2, v4
     54 // VI: v_cmp_nlg_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x54,0x7c]
     55 // NOSICI: error: instruction not supported on this GPU
     56 
     57 v_cmp_ngt_f16 vcc, v2, v4
     58 // VI: v_cmp_ngt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x56,0x7c]
     59 // NOSICI: error: instruction not supported on this GPU
     60 
     61 v_cmp_nle_f16 vcc, v2, v4
     62 // VI: v_cmp_nle_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x58,0x7c]
     63 // NOSICI: error: instruction not supported on this GPU
     64 
     65 v_cmp_neq_f16 vcc, v2, v4
     66 // VI: v_cmp_neq_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5a,0x7c]
     67 // NOSICI: error: instruction not supported on this GPU
     68 
     69 v_cmp_nlt_f16 vcc, v2, v4
     70 // VI: v_cmp_nlt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5c,0x7c]
     71 // NOSICI: error: instruction not supported on this GPU
     72 
     73 v_cmp_tru_f16 vcc, v2, v4
     74 // VI: v_cmp_tru_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5e,0x7c]
     75 // NOSICI: error: instruction not supported on this GPU
     76 
     77 v_cmpx_f_f16 vcc, v2, v4
     78 // VI: v_cmpx_f_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x60,0x7c]
     79 // NOSICI: error: instruction not supported on this GPU
     80 
     81 v_cmpx_lt_f16 vcc, v2, v4
     82 // VI: v_cmpx_lt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x62,0x7c]
     83 // NOSICI: error: instruction not supported on this GPU
     84 
     85 v_cmpx_eq_f16 vcc, v2, v4
     86 // VI: v_cmpx_eq_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x64,0x7c]
     87 // NOSICI: error: instruction not supported on this GPU
     88 
     89 v_cmpx_le_f16 vcc, v2, v4
     90 // VI: v_cmpx_le_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x66,0x7c]
     91 // NOSICI: error: instruction not supported on this GPU
     92 
     93 v_cmpx_gt_f16 vcc, v2, v4
     94 // VI: v_cmpx_gt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x68,0x7c]
     95 // NOSICI: error: instruction not supported on this GPU
     96 
     97 v_cmpx_lg_f16 vcc, v2, v4
     98 // VI: v_cmpx_lg_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6a,0x7c]
     99 // NOSICI: error: instruction not supported on this GPU
    100 
    101 v_cmpx_ge_f16 vcc, v2, v4
    102 // VI: v_cmpx_ge_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6c,0x7c]
    103 // NOSICI: error: instruction not supported on this GPU
    104 
    105 v_cmpx_o_f16 vcc, v2, v4
    106 // VI: v_cmpx_o_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6e,0x7c]
    107 // NOSICI: error: instruction not supported on this GPU
    108 
    109 v_cmpx_u_f16 vcc, v2, v4
    110 // VI: v_cmpx_u_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x70,0x7c]
    111 // NOSICI: error: instruction not supported on this GPU
    112 
    113 v_cmpx_nge_f16 vcc, v2, v4
    114 // VI: v_cmpx_nge_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x72,0x7c]
    115 // NOSICI: error: instruction not supported on this GPU
    116 
    117 v_cmpx_nlg_f16 vcc, v2, v4
    118 // VI: v_cmpx_nlg_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x74,0x7c]
    119 // NOSICI: error: instruction not supported on this GPU
    120 
    121 v_cmpx_ngt_f16 vcc, v2, v4
    122 // VI: v_cmpx_ngt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x76,0x7c]
    123 // NOSICI: error: instruction not supported on this GPU
    124 
    125 v_cmpx_nle_f16 vcc, v2, v4
    126 // VI: v_cmpx_nle_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x78,0x7c]
    127 // NOSICI: error: instruction not supported on this GPU
    128 
    129 v_cmpx_neq_f16 vcc, v2, v4
    130 // VI: v_cmpx_neq_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7a,0x7c]
    131 // NOSICI: error: instruction not supported on this GPU
    132 
    133 v_cmpx_nlt_f16 vcc, v2, v4
    134 // VI: v_cmpx_nlt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7c,0x7c]
    135 // NOSICI: error: instruction not supported on this GPU
    136 
    137 v_cmpx_tru_f16 vcc, v2, v4
    138 // VI: v_cmpx_tru_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7e,0x7c]
    139 // NOSICI: error: instruction not supported on this GPU
    140 
    141 v_cmp_f_i16 vcc, v2, v4
    142 // VI: v_cmp_f_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x40,0x7d]
    143 // NOSICI: error: instruction not supported on this GPU
    144 
    145 v_cmp_lt_i16 vcc, v2, v4
    146 // VI: v_cmp_lt_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x42,0x7d]
    147 // NOSICI: error: instruction not supported on this GPU
    148 
    149 v_cmp_eq_i16 vcc, v2, v4
    150 // VI: v_cmp_eq_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x44,0x7d]
    151 // NOSICI: error: instruction not supported on this GPU
    152 
    153 v_cmp_le_i16 vcc, v2, v4
    154 // VI: v_cmp_le_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x46,0x7d]
    155 // NOSICI: error: instruction not supported on this GPU
    156 
    157 v_cmp_gt_i16 vcc, v2, v4
    158 // VI: v_cmp_gt_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x48,0x7d]
    159 // NOSICI: error: instruction not supported on this GPU
    160 
    161 v_cmp_ne_i16 vcc, v2, v4
    162 // VI: v_cmp_ne_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4a,0x7d]
    163 // NOSICI: error: instruction not supported on this GPU
    164 
    165 v_cmp_ge_i16 vcc, v2, v4
    166 // VI: v_cmp_ge_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4c,0x7d]
    167 // NOSICI: error: instruction not supported on this GPU
    168 
    169 v_cmp_t_i16 vcc, v2, v4
    170 // VI: v_cmp_t_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4e,0x7d]
    171 // NOSICI: error: instruction not supported on this GPU
    172 
    173 v_cmp_f_u16 vcc, v2, v4
    174 // VI: v_cmp_f_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x50,0x7d]
    175 // NOSICI: error: instruction not supported on this GPU
    176 
    177 v_cmp_lt_u16 vcc, v2, v4
    178 // VI: v_cmp_lt_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x52,0x7d]
    179 // NOSICI: error: instruction not supported on this GPU
    180 
    181 v_cmp_eq_u16 vcc, v2, v4
    182 // VI: v_cmp_eq_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x54,0x7d]
    183 // NOSICI: error: instruction not supported on this GPU
    184 
    185 v_cmp_le_u16 vcc, v2, v4
    186 // VI: v_cmp_le_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x56,0x7d]
    187 // NOSICI: error: instruction not supported on this GPU
    188 
    189 v_cmp_gt_u16 vcc, v2, v4
    190 // VI: v_cmp_gt_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x58,0x7d]
    191 // NOSICI: error: instruction not supported on this GPU
    192 
    193 v_cmp_ne_u16 vcc, v2, v4
    194 // VI: v_cmp_ne_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5a,0x7d]
    195 // NOSICI: error: instruction not supported on this GPU
    196 
    197 v_cmp_ge_u16 vcc, v2, v4
    198 // VI: v_cmp_ge_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5c,0x7d]
    199 // NOSICI: error: instruction not supported on this GPU
    200 
    201 v_cmp_t_u16 vcc, v2, v4
    202 // VI: v_cmp_t_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5e,0x7d]
    203 // NOSICI: error: instruction not supported on this GPU
    204 
    205 v_cmpx_f_i16 vcc, v2, v4
    206 // VI: v_cmpx_f_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x60,0x7d]
    207 // NOSICI: error: instruction not supported on this GPU
    208 
    209 v_cmpx_lt_i16 vcc, v2, v4
    210 // VI: v_cmpx_lt_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x62,0x7d]
    211 // NOSICI: error: instruction not supported on this GPU
    212 
    213 v_cmpx_eq_i16 vcc, v2, v4
    214 // VI: v_cmpx_eq_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x64,0x7d]
    215 // NOSICI: error: instruction not supported on this GPU
    216 
    217 v_cmpx_le_i16 vcc, v2, v4
    218 // VI: v_cmpx_le_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x66,0x7d]
    219 // NOSICI: error: instruction not supported on this GPU
    220 
    221 v_cmpx_gt_i16 vcc, v2, v4
    222 // VI: v_cmpx_gt_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x68,0x7d]
    223 // NOSICI: error: instruction not supported on this GPU
    224 
    225 v_cmpx_ne_i16 vcc, v2, v4
    226 // VI: v_cmpx_ne_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6a,0x7d]
    227 // NOSICI: error: instruction not supported on this GPU
    228 
    229 v_cmpx_ge_i16 vcc, v2, v4
    230 // VI: v_cmpx_ge_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6c,0x7d]
    231 // NOSICI: error: instruction not supported on this GPU
    232 
    233 v_cmpx_t_i16 vcc, v2, v4
    234 // VI: v_cmpx_t_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6e,0x7d]
    235 // NOSICI: error: instruction not supported on this GPU
    236 
    237 v_cmpx_f_u16 vcc, v2, v4
    238 // VI: v_cmpx_f_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x70,0x7d]
    239 // NOSICI: error: instruction not supported on this GPU
    240 
    241 v_cmpx_lt_u16 vcc, v2, v4
    242 // VI: v_cmpx_lt_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x72,0x7d]
    243 // NOSICI: error: instruction not supported on this GPU
    244 
    245 v_cmpx_eq_u16 vcc, v2, v4
    246 // VI: v_cmpx_eq_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x74,0x7d]
    247 // NOSICI: error: instruction not supported on this GPU
    248 
    249 v_cmpx_le_u16 vcc, v2, v4
    250 // VI: v_cmpx_le_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x76,0x7d]
    251 // NOSICI: error: instruction not supported on this GPU
    252 
    253 v_cmpx_gt_u16 vcc, v2, v4
    254 // VI: v_cmpx_gt_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x78,0x7d]
    255 // NOSICI: error: instruction not supported on this GPU
    256 
    257 v_cmpx_ne_u16 vcc, v2, v4
    258 // VI: v_cmpx_ne_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7a,0x7d]
    259 // NOSICI: error: instruction not supported on this GPU
    260 
    261 v_cmpx_ge_u16 vcc, v2, v4
    262 // VI: v_cmpx_ge_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7c,0x7d]
    263 // NOSICI: error: instruction not supported on this GPU
    264 
    265 v_cmpx_t_u16 vcc, v2, v4
    266 // VI: v_cmpx_t_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7e,0x7d]
    267 // NOSICI: error: instruction not supported on this GPU
    268