937 lines · plain
1// RUN: not llvm-mc -triple=amdgcn -mcpu=tahiti -show-encoding %s | FileCheck -check-prefix=SICI %s2// RUN: not llvm-mc -triple=amdgcn -mcpu=hawaii -show-encoding %s | FileCheck -check-prefix=SICI %s3// RUN: not llvm-mc -triple=amdgcn -mcpu=tonga -show-encoding %s | FileCheck -check-prefix=VI %s4// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx900 -show-encoding %s | FileCheck --check-prefix=GFX9 %s5// RUN: not llvm-mc -triple=amdgcn -mcpu=tahiti %s 2>&1 | FileCheck -check-prefixes=NOSICI,NOGCN --implicit-check-not=error: %s6// RUN: not llvm-mc -triple=amdgcn -mcpu=hawaii %s 2>&1 | FileCheck -check-prefixes=NOSICI,NOGCN --implicit-check-not=error: %s7// RUN: not llvm-mc -triple=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefixes=NOVI,NOGCN --implicit-check-not=error: %s8// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx900 %s 2>&1 | FileCheck -check-prefix=NOGFX9 --implicit-check-not=error: %s9 10v_lshl_add_u32 v1, v2, v3, v411// GFX9: v_lshl_add_u32 v1, v2, v3, v4 ; encoding: [0x01,0x00,0xfd,0xd1,0x02,0x07,0x12,0x04]12// NOGCN: :[[@LINE-2]]:1: error: instruction not supported on this GPU13 14v_add_lshl_u32 v1, v2, v3, v415// GFX9: v_add_lshl_u32 v1, v2, v3, v4 ; encoding: [0x01,0x00,0xfe,0xd1,0x02,0x07,0x12,0x04]16// NOGCN: :[[@LINE-2]]:1: error: instruction not supported on this GPU17 18v_add3_u32 v1, v2, v3, v419// GFX9: v_add3_u32 v1, v2, v3, v4 ; encoding: [0x01,0x00,0xff,0xd1,0x02,0x07,0x12,0x04]20// NOGCN: :[[@LINE-2]]:1: error: instruction not supported on this GPU21 22v_lshl_or_b32 v1, v2, v3, v423// GFX9: v_lshl_or_b32 v1, v2, v3, v4 ; encoding: [0x01,0x00,0x00,0xd2,0x02,0x07,0x12,0x04]24// NOGCN: :[[@LINE-2]]:1: error: instruction not supported on this GPU25 26v_and_or_b32 v1, v2, v3, v427// GFX9: v_and_or_b32 v1, v2, v3, v4 ; encoding: [0x01,0x00,0x01,0xd2,0x02,0x07,0x12,0x04]28// NOGCN: :[[@LINE-2]]:1: error: instruction not supported on this GPU29 30v_or3_b32 v1, v2, v3, v431// GFX9: v_or3_b32 v1, v2, v3, v4 ; encoding: [0x01,0x00,0x02,0xd2,0x02,0x07,0x12,0x04]32// NOGCN: :[[@LINE-2]]:1: error: instruction not supported on this GPU33 34v_pack_b32_f16 v1, v2, v335// GFX9: v_pack_b32_f16 v1, v2, v3 ; encoding: [0x01,0x00,0xa0,0xd2,0x02,0x07,0x02,0x00]36// NOGCN: :[[@LINE-2]]:1: error: instruction not supported on this GPU37 38v_pack_b32_f16 v5, v1, v2 op_sel:[1,0,0]39// GFX9: v_pack_b32_f16 v5, v1, v2 op_sel:[1,0,0] ; encoding: [0x05,0x08,0xa0,0xd2,0x01,0x05,0x02,0x00]40// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU41 42v_pack_b32_f16 v5, v1, v2 op_sel:[0,1,0]43// GFX9: v_pack_b32_f16 v5, v1, v2 op_sel:[0,1,0] ; encoding: [0x05,0x10,0xa0,0xd2,0x01,0x05,0x02,0x00]44// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU45 46v_pack_b32_f16 v5, v1, v2 op_sel:[0,0,1]47// GFX9: v_pack_b32_f16 v5, v1, v2 op_sel:[0,0,1] ; encoding: [0x05,0x40,0xa0,0xd2,0x01,0x05,0x02,0x00]48// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU49 50v_xad_u32 v1, v2, v3, v451// GFX9: v_xad_u32 v1, v2, v3, v4 ; encoding: [0x01,0x00,0xf3,0xd1,0x02,0x07,0x12,0x04]52// NOGCN: :[[@LINE-2]]:1: error: instruction not supported on this GPU53 54v_min3_f16 v1, v2, v3, v455// GFX9: v_min3_f16 v1, v2, v3, v4 ; encoding: [0x01,0x00,0xf4,0xd1,0x02,0x07,0x12,0x04]56// NOGCN: :[[@LINE-2]]:1: error: instruction not supported on this GPU57 58v_min3_i16 v1, v2, v3, v459// GFX9: v_min3_i16 v1, v2, v3, v4 ; encoding: [0x01,0x00,0xf5,0xd1,0x02,0x07,0x12,0x04]60// NOGCN: :[[@LINE-2]]:1: error: instruction not supported on this GPU61 62v_min3_u16 v1, v2, v3, v463// GFX9: v_min3_u16 v1, v2, v3, v4 ; encoding: [0x01,0x00,0xf6,0xd1,0x02,0x07,0x12,0x04]64// NOGCN: :[[@LINE-2]]:1: error: instruction not supported on this GPU65 66v_max3_f16 v1, v2, v3, v467// GFX9: v_max3_f16 v1, v2, v3, v4 ; encoding: [0x01,0x00,0xf7,0xd1,0x02,0x07,0x12,0x04]68// NOGCN: :[[@LINE-2]]:1: error: instruction not supported on this GPU69 70v_max3_f16 v5, v1, v2, v3 op_sel:[0,0,0,0]71// GFX9: v_max3_f16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0xf7,0xd1,0x01,0x05,0x0e,0x04]72// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU73 74v_max3_f16 v5, v1, v2, v3 op_sel:[1,0,0,0]75// GFX9: v_max3_f16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0xf7,0xd1,0x01,0x05,0x0e,0x04]76// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU77 78v_max3_f16 v5, v1, v2, v3 op_sel:[0,1,0,0]79// GFX9: v_max3_f16 v5, v1, v2, v3 op_sel:[0,1,0,0] ; encoding: [0x05,0x10,0xf7,0xd1,0x01,0x05,0x0e,0x04]80// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU81 82v_max3_f16 v5, v1, v2, v3 op_sel:[0,0,1,0]83// GFX9: v_max3_f16 v5, v1, v2, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0xf7,0xd1,0x01,0x05,0x0e,0x04]84// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU85 86v_max3_f16 v5, v1, v2, v3 op_sel:[0,0,0,1]87// GFX9: v_max3_f16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0xf7,0xd1,0x01,0x05,0x0e,0x04]88// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU89 90v_max3_f16 v5, v1, v2, v3 op_sel:[1,1,1,1]91// GFX9: v_max3_f16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0xf7,0xd1,0x01,0x05,0x0e,0x04]92// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU93 94v_max3_i16 v1, v2, v3, v495// GFX9: v_max3_i16 v1, v2, v3, v4 ; encoding: [0x01,0x00,0xf8,0xd1,0x02,0x07,0x12,0x04]96// NOGCN: :[[@LINE-2]]:1: error: instruction not supported on this GPU97 98v_max3_i16 v5, v1, v2, v3 op_sel:[0,0,0,0]99// GFX9: v_max3_i16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0xf8,0xd1,0x01,0x05,0x0e,0x04]100// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU101 102v_max3_i16 v5, v1, v2, v3 op_sel:[1,0,0,0]103// GFX9: v_max3_i16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0xf8,0xd1,0x01,0x05,0x0e,0x04]104// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU105 106v_max3_i16 v5, v1, v2, v3 op_sel:[0,1,0,0]107// GFX9: v_max3_i16 v5, v1, v2, v3 op_sel:[0,1,0,0] ; encoding: [0x05,0x10,0xf8,0xd1,0x01,0x05,0x0e,0x04]108// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU109 110v_max3_i16 v5, v1, v2, v3 op_sel:[0,0,1,0]111// GFX9: v_max3_i16 v5, v1, v2, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0xf8,0xd1,0x01,0x05,0x0e,0x04]112// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU113 114v_max3_i16 v5, v1, v2, v3 op_sel:[0,0,0,1]115// GFX9: v_max3_i16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0xf8,0xd1,0x01,0x05,0x0e,0x04]116// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU117 118v_max3_i16 v5, v1, v2, v3 op_sel:[1,1,1,1]119// GFX9: v_max3_i16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0xf8,0xd1,0x01,0x05,0x0e,0x04]120// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU121 122v_max3_u16 v1, v2, v3, v4123// GFX9: v_max3_u16 v1, v2, v3, v4 ; encoding: [0x01,0x00,0xf9,0xd1,0x02,0x07,0x12,0x04]124// NOGCN: :[[@LINE-2]]:1: error: instruction not supported on this GPU125 126v_med3_f16 v1, v2, v3, v4127// GFX9: v_med3_f16 v1, v2, v3, v4 ; encoding: [0x01,0x00,0xfa,0xd1,0x02,0x07,0x12,0x04]128// NOGCN: :[[@LINE-2]]:1: error: instruction not supported on this GPU129 130v_med3_i16 v1, v2, v3, v4131// GFX9: v_med3_i16 v1, v2, v3, v4 ; encoding: [0x01,0x00,0xfb,0xd1,0x02,0x07,0x12,0x04]132// NOGCN: :[[@LINE-2]]:1: error: instruction not supported on this GPU133 134v_med3_u16 v1, v2, v3, v4135// GFX9: v_med3_u16 v1, v2, v3, v4 ; encoding: [0x01,0x00,0xfc,0xd1,0x02,0x07,0x12,0x04]136// NOGCN: :[[@LINE-2]]:1: error: instruction not supported on this GPU137 138v_mad_u32_u16 v5, v1, v2, v3139// GFX9: v_mad_u32_u16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0xf1,0xd1,0x01,0x05,0x0e,0x04]140// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU141 142v_mad_u32_u16 v5, v1, v2, v3 op_sel:[1,0,0,0]143// GFX9: v_mad_u32_u16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0xf1,0xd1,0x01,0x05,0x0e,0x04]144// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU145 146v_mad_u32_u16 v5, v1, v2, v3 op_sel:[0,1,0,0]147// GFX9: v_mad_u32_u16 v5, v1, v2, v3 op_sel:[0,1,0,0] ; encoding: [0x05,0x10,0xf1,0xd1,0x01,0x05,0x0e,0x04]148// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU149 150v_mad_u32_u16 v5, v1, v2, v3 op_sel:[0,0,1,0]151// GFX9: v_mad_u32_u16 v5, v1, v2, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0xf1,0xd1,0x01,0x05,0x0e,0x04]152// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU153 154v_mad_u32_u16 v5, v1, v2, v3 op_sel:[0,0,0,1]155// GFX9: v_mad_u32_u16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0xf1,0xd1,0x01,0x05,0x0e,0x04]156// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU157 158v_mad_u32_u16 v5, v1, v2, v3 op_sel:[1,1,1,1]159// GFX9: v_mad_u32_u16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0xf1,0xd1,0x01,0x05,0x0e,0x04]160// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU161 162v_mad_i32_i16 v5, v1, v2, v3163// GFX9: v_mad_i32_i16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0xf2,0xd1,0x01,0x05,0x0e,0x04]164// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU165 166v_mad_i32_i16 v5, v1, v2, v3 op_sel:[0,0,0,1]167// GFX9: v_mad_i32_i16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0xf2,0xd1,0x01,0x05,0x0e,0x04]168// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU169 170v_cvt_pknorm_i16_f16 v5, v1, v2171// GFX9: v_cvt_pknorm_i16_f16 v5, v1, v2 ; encoding: [0x05,0x00,0x99,0xd2,0x01,0x05,0x02,0x00]172// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU173 174v_cvt_pknorm_i16_f16 v5, -v1, v2175// GFX9: v_cvt_pknorm_i16_f16 v5, -v1, v2 ; encoding: [0x05,0x00,0x99,0xd2,0x01,0x05,0x02,0x20]176// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU177 178v_cvt_pknorm_i16_f16 v5, v1, -v2179// GFX9: v_cvt_pknorm_i16_f16 v5, v1, -v2 ; encoding: [0x05,0x00,0x99,0xd2,0x01,0x05,0x02,0x40]180// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU181 182v_cvt_pknorm_i16_f16 v5, -v1, -v2183// GFX9: v_cvt_pknorm_i16_f16 v5, -v1, -v2 ; encoding: [0x05,0x00,0x99,0xd2,0x01,0x05,0x02,0x60]184// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU185 186v_cvt_pknorm_i16_f16 v5, |v1|, v2187// GFX9: v_cvt_pknorm_i16_f16 v5, |v1|, v2 ; encoding: [0x05,0x01,0x99,0xd2,0x01,0x05,0x02,0x00]188// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU189 190v_cvt_pknorm_i16_f16 v5, v1, |v2|191// GFX9: v_cvt_pknorm_i16_f16 v5, v1, |v2| ; encoding: [0x05,0x02,0x99,0xd2,0x01,0x05,0x02,0x00]192// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU193 194v_cvt_pknorm_i16_f16 v5, v1, v2 op_sel:[0,0,0]195// GFX9: v_cvt_pknorm_i16_f16 v5, v1, v2 ; encoding: [0x05,0x00,0x99,0xd2,0x01,0x05,0x02,0x00]196// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU197 198v_cvt_pknorm_i16_f16 v5, v1, v2 op_sel:[1,0,0]199// GFX9: v_cvt_pknorm_i16_f16 v5, v1, v2 op_sel:[1,0,0] ; encoding: [0x05,0x08,0x99,0xd2,0x01,0x05,0x02,0x00]200// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU201 202v_cvt_pknorm_i16_f16 v5, v1, v2 op_sel:[1,1,1]203// GFX9: v_cvt_pknorm_i16_f16 v5, v1, v2 op_sel:[1,1,1] ; encoding: [0x05,0x58,0x99,0xd2,0x01,0x05,0x02,0x00]204// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU205 206v_cvt_pknorm_u16_f16 v5, -v1, -v2207// GFX9: v_cvt_pknorm_u16_f16 v5, -v1, -v2 ; encoding: [0x05,0x00,0x9a,0xd2,0x01,0x05,0x02,0x60]208// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU209 210v_cvt_pknorm_u16_f16 v5, |v1|, |v2|211// GFX9: v_cvt_pknorm_u16_f16 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x9a,0xd2,0x01,0x05,0x02,0x00]212// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU213 214v_cvt_pknorm_u16_f16 v5, v1, v2 op_sel:[1,1,1]215// GFX9: v_cvt_pknorm_u16_f16 v5, v1, v2 op_sel:[1,1,1] ; encoding: [0x05,0x58,0x9a,0xd2,0x01,0x05,0x02,0x00]216// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU217 218v_add_i16 v5, v1, v2219// GFX9: v_add_i16 v5, v1, v2 ; encoding: [0x05,0x00,0x9e,0xd2,0x01,0x05,0x02,0x00]220// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU221 222v_add_i16 v5, v1, v2 op_sel:[1,1,1]223// GFX9: v_add_i16 v5, v1, v2 op_sel:[1,1,1] ; encoding: [0x05,0x58,0x9e,0xd2,0x01,0x05,0x02,0x00]224// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU225 226v_sub_i16 v5, v1, v2227// GFX9: v_sub_i16 v5, v1, v2 ; encoding: [0x05,0x00,0x9f,0xd2,0x01,0x05,0x02,0x00]228// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU229 230v_sub_i16 v5, v1, v2 op_sel:[1,1,1]231// GFX9: v_sub_i16 v5, v1, v2 op_sel:[1,1,1] ; encoding: [0x05,0x58,0x9f,0xd2,0x01,0x05,0x02,0x00]232// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU233 234v_sub_i16 v5, v1, v2 clamp235// GFX9: v_sub_i16 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x9f,0xd2,0x01,0x05,0x02,0x00]236// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU237 238v_fma_f16_e64 v5, v1, v2, v3239// GFX9: v_fma_f16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x06,0xd2,0x01,0x05,0x0e,0x04]240// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU241// VI: v_fma_f16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0x0e,0x04]242 243v_fma_f16 v5, v1, -v2, v3244// GFX9: v_fma_f16 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x06,0xd2,0x01,0x05,0x0e,0x44]245// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU246// VI: v_fma_f16 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0x0e,0x44]247 248v_fma_f16 v5, v1, v2, |v3|249// GFX9: v_fma_f16 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x06,0xd2,0x01,0x05,0x0e,0x04]250// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU251// VI: v_fma_f16 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0xee,0xd1,0x01,0x05,0x0e,0x04]252 253v_fma_f16 v5, v1, v2, v3 clamp254// GFX9: v_fma_f16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x06,0xd2,0x01,0x05,0x0e,0x04]255// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU256// VI: v_fma_f16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0xee,0xd1,0x01,0x05,0x0e,0x04]257 258v_fma_f16 v5, v1, v2, v3 op_sel:[1,0,0,0]259// GFX9: v_fma_f16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x06,0xd2,0x01,0x05,0x0e,0x04]260// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU261// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.262 263v_fma_f16 v5, v1, v2, v3 op_sel:[0,1,0,0]264// GFX9: v_fma_f16 v5, v1, v2, v3 op_sel:[0,1,0,0] ; encoding: [0x05,0x10,0x06,0xd2,0x01,0x05,0x0e,0x04]265// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU266// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.267 268v_fma_f16 v5, v1, v2, v3 op_sel:[1,1,1,1]269// GFX9: v_fma_f16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x06,0xd2,0x01,0x05,0x0e,0x04]270// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU271// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.272 273v_fma_legacy_f16_e64 v5, v1, v2, v3274// GFX9: v_fma_legacy_f16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0x0e,0x04]275// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU276 277v_fma_legacy_f16 v5, -v1, v2, v3278// GFX9: v_fma_legacy_f16 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0x0e,0x24]279// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU280 281v_fma_legacy_f16 v5, v1, |v2|, v3282// GFX9: v_fma_legacy_f16 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0xee,0xd1,0x01,0x05,0x0e,0x04]283// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU284 285v_fma_legacy_f16 v5, v1, v2, v3 clamp286// GFX9: v_fma_legacy_f16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0xee,0xd1,0x01,0x05,0x0e,0x04]287// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU288 289v_div_fixup_f16_e64 v5, 0.5, v2, v3290// GFX9: v_div_fixup_f16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x07,0xd2,0xf0,0x04,0x0e,0x04]291// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU292// VI: v_div_fixup_f16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0xef,0xd1,0xf0,0x04,0x0e,0x04]293 294v_div_fixup_f16 v5, v1, 0.5, v3295// GFX9: v_div_fixup_f16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x07,0xd2,0x01,0xe1,0x0d,0x04]296// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU297// VI: v_div_fixup_f16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xe1,0x0d,0x04]298 299v_div_fixup_f16 v5, v1, v2, 0.5300// GFX9: v_div_fixup_f16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x07,0xd2,0x01,0x05,0xc2,0x03]301// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU302// VI: v_div_fixup_f16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0xc2,0x03]303 304v_div_fixup_f16 v5, -v1, v2, v3305// GFX9: v_div_fixup_f16 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x07,0xd2,0x01,0x05,0x0e,0x24]306// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU307// VI: v_div_fixup_f16 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0x0e,0x24]308 309v_div_fixup_f16 v5, |v1|, v2, v3310// GFX9: v_div_fixup_f16 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x07,0xd2,0x01,0x05,0x0e,0x04]311// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU312// VI: v_div_fixup_f16 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0xef,0xd1,0x01,0x05,0x0e,0x04]313 314v_div_fixup_f16 v5, v1, v2, v3 clamp315// GFX9: v_div_fixup_f16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x07,0xd2,0x01,0x05,0x0e,0x04]316// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU317// VI: v_div_fixup_f16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0xef,0xd1,0x01,0x05,0x0e,0x04]318 319v_div_fixup_f16 v5, v1, v2, v3 op_sel:[1,0,0,0]320// GFX9: v_div_fixup_f16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x07,0xd2,0x01,0x05,0x0e,0x04]321// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU322// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.323 324v_div_fixup_f16 v5, v1, v2, v3 op_sel:[0,0,1,0]325// GFX9: v_div_fixup_f16 v5, v1, v2, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x07,0xd2,0x01,0x05,0x0e,0x04]326// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU327// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.328 329v_div_fixup_f16 v5, v1, v2, v3 op_sel:[0,0,0,1]330// GFX9: v_div_fixup_f16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x07,0xd2,0x01,0x05,0x0e,0x04]331// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU332// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.333 334v_div_fixup_legacy_f16_e64 v5, 0.5, v2, v3335// GFX9: v_div_fixup_legacy_f16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0xef,0xd1,0xf0,0x04,0x0e,0x04]336// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU337 338v_div_fixup_legacy_f16 v5, v1, 0.5, v3339// GFX9: v_div_fixup_legacy_f16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xe1,0x0d,0x04]340// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU341 342v_div_fixup_legacy_f16 v5, v1, v2, 0.5343// GFX9: v_div_fixup_legacy_f16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0xc2,0x03]344// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU345 346v_div_fixup_legacy_f16 v5, -v1, v2, v3347// GFX9: v_div_fixup_legacy_f16 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0x0e,0x24]348// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU349 350v_div_fixup_legacy_f16 v5, v1, |v2|, v3351// GFX9: v_div_fixup_legacy_f16 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0xef,0xd1,0x01,0x05,0x0e,0x04]352// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU353 354v_div_fixup_legacy_f16 v5, v1, v2, v3 clamp355// GFX9: v_div_fixup_legacy_f16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0xef,0xd1,0x01,0x05,0x0e,0x04]356// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU357 358v_mad_f16_e64 v5, 0.5, v2, v3359// GFX9: v_mad_f16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x03,0xd2,0xf0,0x04,0x0e,0x04]360// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU361// VI: v_mad_f16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0xea,0xd1,0xf0,0x04,0x0e,0x04]362 363v_mad_f16 v5, v1, 0.5, v3364// GFX9: v_mad_f16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x03,0xd2,0x01,0xe1,0x0d,0x04]365// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU366// VI: v_mad_f16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xe1,0x0d,0x04]367 368v_mad_f16 v5, v1, v2, 0.5369// GFX9: v_mad_f16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x03,0xd2,0x01,0x05,0xc2,0x03]370// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU371// VI: v_mad_f16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0xc2,0x03]372 373v_mad_f16 v5, v1, v2, -v3374// GFX9: v_mad_f16 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0x03,0xd2,0x01,0x05,0x0e,0x84]375// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU376// VI: v_mad_f16 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0x0e,0x84]377 378v_mad_f16 v5, v1, v2, |v3|379// GFX9: v_mad_f16 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x03,0xd2,0x01,0x05,0x0e,0x04]380// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU381// VI: v_mad_f16 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0xea,0xd1,0x01,0x05,0x0e,0x04]382 383v_mad_f16 v5, v1, v2, v3 op_sel:[0,0,0,0]384// GFX9: v_mad_f16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x03,0xd2,0x01,0x05,0x0e,0x04]385// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU386// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.387 388v_mad_f16 v5, v1, v2, v3 op_sel:[1,0,0,0]389// GFX9: v_mad_f16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x03,0xd2,0x01,0x05,0x0e,0x04]390// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU391// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.392 393v_mad_f16 v5, v1, v2, v3 op_sel:[0,1,0,0]394// GFX9: v_mad_f16 v5, v1, v2, v3 op_sel:[0,1,0,0] ; encoding: [0x05,0x10,0x03,0xd2,0x01,0x05,0x0e,0x04]395// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU396// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.397 398v_mad_f16 v5, v1, v2, v3 op_sel:[0,0,1,0]399// GFX9: v_mad_f16 v5, v1, v2, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x03,0xd2,0x01,0x05,0x0e,0x04]400// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU401// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.402 403v_mad_f16 v5, v1, v2, v3 op_sel:[0,0,0,1]404// GFX9: v_mad_f16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x03,0xd2,0x01,0x05,0x0e,0x04]405// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU406// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.407 408v_mad_f16 v5, v1, v2, v3 op_sel:[1,1,1,1]409// GFX9: v_mad_f16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x03,0xd2,0x01,0x05,0x0e,0x04]410// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU411// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.412 413v_mad_f16 v5, v1, v2, v3 clamp414// GFX9: v_mad_f16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x03,0xd2,0x01,0x05,0x0e,0x04]415// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU416// VI: v_mad_f16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0xea,0xd1,0x01,0x05,0x0e,0x04]417 418v_mad_i16_e64 v5, 0, v2, v3419// GFX9: v_mad_i16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x05,0xd2,0x80,0x04,0x0e,0x04]420// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU421// VI: v_mad_i16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0xec,0xd1,0x80,0x04,0x0e,0x04]422 423v_mad_i16 v5, v1, -1, v3424// GFX9: v_mad_i16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x05,0xd2,0x01,0x83,0x0d,0x04]425// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU426// VI: v_mad_i16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x83,0x0d,0x04]427 428v_mad_i16 v5, v1, v2, -4.0429// GFX9: v_mad_i16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x05,0xd2,0x01,0x05,0xde,0x03]430// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU431// VI: v_mad_i16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0xde,0x03]432 433v_mad_i16 v5, v1, v2, v3 clamp434// GFX9: v_mad_i16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x05,0xd2,0x01,0x05,0x0e,0x04]435// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU436// VI: v_mad_i16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0xec,0xd1,0x01,0x05,0x0e,0x04]437 438v_mad_i16 v5, v1, v2, v3 op_sel:[0,0,0,1]439// GFX9: v_mad_i16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x05,0xd2,0x01,0x05,0x0e,0x04]440// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU441// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.442 443v_mad_i16 v5, v1, v2, v3 op_sel:[1,1,1,1]444// GFX9: v_mad_i16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x05,0xd2,0x01,0x05,0x0e,0x04]445// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU446// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.447 448v_mad_legacy_f16_e64 v5, 0.5, v2, v3449// GFX9: v_mad_legacy_f16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0xea,0xd1,0xf0,0x04,0x0e,0x04]450// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU451 452v_mad_legacy_f16 v5, v1, 0.5, v3453// GFX9: v_mad_legacy_f16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xe1,0x0d,0x04]454// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU455 456v_mad_legacy_f16 v5, v1, v2, 0.5457// GFX9: v_mad_legacy_f16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0xc2,0x03]458// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU459 460v_mad_legacy_f16 v5, v1, -v2, v3461// GFX9: v_mad_legacy_f16 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0x0e,0x44]462// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU463 464v_mad_legacy_f16 v5, v1, |v2|, v3465// GFX9: v_mad_legacy_f16 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0xea,0xd1,0x01,0x05,0x0e,0x04]466// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU467 468v_mad_legacy_f16 v5, v1, v2, v3 clamp469// GFX9: v_mad_legacy_f16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0xea,0xd1,0x01,0x05,0x0e,0x04]470// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU471 472v_mad_legacy_i16_e64 v5, 0, v2, v3473// GFX9: v_mad_legacy_i16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0xec,0xd1,0x80,0x04,0x0e,0x04]474// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU475 476v_mad_legacy_i16 v5, v1, -1, v3477// GFX9: v_mad_legacy_i16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x83,0x0d,0x04]478// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU479 480v_mad_legacy_i16 v5, v1, v2, -4.0481// GFX9: v_mad_legacy_i16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0xde,0x03]482// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU483 484v_mad_legacy_i16 v5, v1, v2, -4.0 clamp485// GFX9: v_mad_legacy_i16 v5, v1, v2, -4.0 clamp ; encoding: [0x05,0x80,0xec,0xd1,0x01,0x05,0xde,0x03]486// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU487 488v_mad_legacy_u16_e64 v5, 0, v2, v3489// GFX9: v_mad_legacy_u16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0xeb,0xd1,0x80,0x04,0x0e,0x04]490// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU491 492v_mad_legacy_u16 v5, v1, -1, v3493// GFX9: v_mad_legacy_u16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x83,0x0d,0x04]494// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU495 496v_mad_legacy_u16 v5, v1, v2, -4.0497// GFX9: v_mad_legacy_u16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xde,0x03]498// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU499 500v_mad_legacy_u16 v5, v1, v2, -4.0 clamp501// GFX9: v_mad_legacy_u16 v5, v1, v2, -4.0 clamp ; encoding: [0x05,0x80,0xeb,0xd1,0x01,0x05,0xde,0x03]502// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU503 504v_mad_u16_e64 v5, 0, v2, v3505// GFX9: v_mad_u16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x04,0xd2,0x80,0x04,0x0e,0x04]506// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU507// VI: v_mad_u16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0xeb,0xd1,0x80,0x04,0x0e,0x04]508 509v_mad_u16 v5, v1, -1, v3510// GFX9: v_mad_u16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x04,0xd2,0x01,0x83,0x0d,0x04]511// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU512// VI: v_mad_u16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x83,0x0d,0x04]513 514v_mad_u16 v5, v1, v2, -4.0515// GFX9: v_mad_u16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x04,0xd2,0x01,0x05,0xde,0x03]516// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU517// VI: v_mad_u16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xde,0x03]518 519v_mad_u16 v5, v1, v2, v3 clamp520// GFX9: v_mad_u16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x04,0xd2,0x01,0x05,0x0e,0x04]521// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU522// VI: v_mad_u16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0xeb,0xd1,0x01,0x05,0x0e,0x04]523 524v_mad_u16 v5, v1, v2, v3 op_sel:[1,0,0,0]525// GFX9: v_mad_u16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x04,0xd2,0x01,0x05,0x0e,0x04]526// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU527// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.528 529v_mad_u16 v5, v1, v2, v3 op_sel:[0,0,0,1]530// GFX9: v_mad_u16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x04,0xd2,0x01,0x05,0x0e,0x04]531// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU532// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.533 534v_mad_u16 v5, v1, v2, v3 op_sel:[1,1,1,1]535// GFX9: v_mad_u16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x04,0xd2,0x01,0x05,0x0e,0x04]536// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU537// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.538 539v_interp_p2_f16 v5, v2, attr0.x, v3540// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 ; encoding: [0x05,0x00,0x77,0xd2,0x00,0x04,0x0e,0x04]541// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU542// VI: v_interp_p2_f16 v5, v2, attr0.x, v3 ; encoding: [0x05,0x00,0x76,0xd2,0x00,0x04,0x0e,0x04]543 544v_interp_p2_f16 v5, -v2, attr0.x, v3545// GFX9: v_interp_p2_f16 v5, -v2, attr0.x, v3 ; encoding: [0x05,0x00,0x77,0xd2,0x00,0x04,0x0e,0x44]546// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU547// VI: v_interp_p2_f16 v5, -v2, attr0.x, v3 ; encoding: [0x05,0x00,0x76,0xd2,0x00,0x04,0x0e,0x44]548 549v_interp_p2_f16 v5, v2, attr0.x, |v3|550// GFX9: v_interp_p2_f16 v5, v2, attr0.x, |v3| ; encoding: [0x05,0x04,0x77,0xd2,0x00,0x04,0x0e,0x04]551// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU552// VI: v_interp_p2_f16 v5, v2, attr0.x, |v3| ; encoding: [0x05,0x04,0x76,0xd2,0x00,0x04,0x0e,0x04]553 554v_interp_p2_f16 v5, v2, attr0.w, v3555// GFX9: v_interp_p2_f16 v5, v2, attr0.w, v3 ; encoding: [0x05,0x00,0x77,0xd2,0xc0,0x04,0x0e,0x04]556// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU557// VI: v_interp_p2_f16 v5, v2, attr0.w, v3 ; encoding: [0x05,0x00,0x76,0xd2,0xc0,0x04,0x0e,0x04]558 559v_interp_p2_f16 v5, v2, attr0.x, v3 high560// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 high ; encoding: [0x05,0x00,0x77,0xd2,0x00,0x05,0x0e,0x04]561// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU562// VI: v_interp_p2_f16 v5, v2, attr0.x, v3 high ; encoding: [0x05,0x00,0x76,0xd2,0x00,0x05,0x0e,0x04]563 564v_interp_p2_f16 v5, v2, attr0.x, v3 clamp565// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 clamp ; encoding: [0x05,0x80,0x77,0xd2,0x00,0x04,0x0e,0x04]566// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU567// VI: v_interp_p2_f16 v5, v2, attr0.x, v3 clamp ; encoding: [0x05,0x80,0x76,0xd2,0x00,0x04,0x0e,0x04]568 569v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,0,0]570// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 ; encoding: [0x05,0x00,0x77,0xd2,0x00,0x04,0x0e,0x04]571// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU572// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.573 574v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,0,1]575// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x77,0xd2,0x00,0x04,0x0e,0x04]576// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU577// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.578 579v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,1,0]580// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 ; encoding: [0x05,0x00,0x77,0xd2,0x00,0x04,0x0e,0x04]581// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU582// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.583 584v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,1,1]585// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x77,0xd2,0x00,0x04,0x0e,0x04]586// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU587// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.588 589v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,0]590// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x77,0xd2,0x00,0x04,0x0e,0x04]591// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU592// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.593 594v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,1]595// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,1,0] ; encoding: [0x05,0x28,0x77,0xd2,0x00,0x04,0x0e,0x04]596// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU597// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.598 599v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,1,1]600// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x77,0xd2,0x00,0x04,0x0e,0x04]601// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU602// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.603 604v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,0]605// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x77,0xd2,0x00,0x04,0x0e,0x04]606// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU607// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.608 609v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,1]610// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,1,0] ; encoding: [0x05,0x28,0x77,0xd2,0x00,0x04,0x0e,0x04]611// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU612// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.613 614v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,1,0]615// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x77,0xd2,0x00,0x04,0x0e,0x04]616// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU617// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.618 619v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,1,1]620// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,1,0] ; encoding: [0x05,0x28,0x77,0xd2,0x00,0x04,0x0e,0x04]621// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU622// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.623 624v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,0,0,0]625// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 ; encoding: [0x05,0x00,0x77,0xd2,0x00,0x04,0x0e,0x04]626// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU627// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.628 629v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,0,0,1]630// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x77,0xd2,0x00,0x04,0x0e,0x04]631// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU632// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.633 634v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,0,1,0]635// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x77,0xd2,0x00,0x04,0x0e,0x04]636// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU637// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.638 639v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,0,1,1]640// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,0,1,1] ; encoding: [0x05,0x60,0x77,0xd2,0x00,0x04,0x0e,0x04]641// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU642// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.643 644v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,1,0,0]645// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 ; encoding: [0x05,0x00,0x77,0xd2,0x00,0x04,0x0e,0x04]646// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU647// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.648 649v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,1,0,1]650// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x77,0xd2,0x00,0x04,0x0e,0x04]651// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU652// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.653 654v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,1,1,0]655// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x77,0xd2,0x00,0x04,0x0e,0x04]656// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU657// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.658 659v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,1,1,1]660// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[0,0,1,1] ; encoding: [0x05,0x60,0x77,0xd2,0x00,0x04,0x0e,0x04]661// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU662// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.663 664v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,0,0]665// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x77,0xd2,0x00,0x04,0x0e,0x04]666// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU667// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.668 669v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,0,1]670// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,0,1] ; encoding: [0x05,0x48,0x77,0xd2,0x00,0x04,0x0e,0x04]671// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU672// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.673 674v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,1,0]675// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,1,0] ; encoding: [0x05,0x28,0x77,0xd2,0x00,0x04,0x0e,0x04]676// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU677// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.678 679v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,1,1]680// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,1,1] ; encoding: [0x05,0x68,0x77,0xd2,0x00,0x04,0x0e,0x04]681// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU682// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.683 684v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,1,0,0]685// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x77,0xd2,0x00,0x04,0x0e,0x04]686// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU687// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.688 689v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,1,0,1]690// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,0,1] ; encoding: [0x05,0x48,0x77,0xd2,0x00,0x04,0x0e,0x04]691// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU692// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.693 694v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,1,1,0]695// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,1,0] ; encoding: [0x05,0x28,0x77,0xd2,0x00,0x04,0x0e,0x04]696// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU697// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.698 699v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,1,1,1]700// GFX9: v_interp_p2_f16 v5, v2, attr0.x, v3 op_sel:[1,0,1,1] ; encoding: [0x05,0x68,0x77,0xd2,0x00,0x04,0x0e,0x04]701// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU702// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: not a valid operand.703 704v_interp_p2_legacy_f16 v5, v2, attr31.x, v3705// GFX9: v_interp_p2_legacy_f16 v5, v2, attr31.x, v3 ; encoding: [0x05,0x00,0x76,0xd2,0x1f,0x04,0x0e,0x04]706// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU707 708v_interp_p2_legacy_f16 v5, -v2, attr0.x, v3709// GFX9: v_interp_p2_legacy_f16 v5, -v2, attr0.x, v3 ; encoding: [0x05,0x00,0x76,0xd2,0x00,0x04,0x0e,0x44]710// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU711 712v_interp_p2_legacy_f16 v5, v2, attr0.x, |v3|713// GFX9: v_interp_p2_legacy_f16 v5, v2, attr0.x, |v3| ; encoding: [0x05,0x04,0x76,0xd2,0x00,0x04,0x0e,0x04]714// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU715 716v_interp_p2_legacy_f16 v5, v2, attr0.w, v3717// GFX9: v_interp_p2_legacy_f16 v5, v2, attr0.w, v3 ; encoding: [0x05,0x00,0x76,0xd2,0xc0,0x04,0x0e,0x04]718// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU719 720v_interp_p2_legacy_f16 v5, v2, attr0.x, v3 high721// GFX9: v_interp_p2_legacy_f16 v5, v2, attr0.x, v3 high ; encoding: [0x05,0x00,0x76,0xd2,0x00,0x05,0x0e,0x04]722// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU723 724v_interp_p2_legacy_f16 v5, v2, attr0.x, v3 clamp725// GFX9: v_interp_p2_legacy_f16 v5, v2, attr0.x, v3 clamp ; encoding: [0x05,0x80,0x76,0xd2,0x00,0x04,0x0e,0x04]726// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU727 728v_cvt_norm_i16_f16_e64 v5, -v1729// GFX9: v_cvt_norm_i16_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0x8d,0xd1,0x01,0x01,0x00,0x20]730// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU731 732v_cvt_norm_i16_f16_e64 v5, |v1|733// GFX9: v_cvt_norm_i16_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0x8d,0xd1,0x01,0x01,0x00,0x00]734// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU735 736v_cvt_norm_u16_f16_e64 v5, -v1737// GFX9: v_cvt_norm_u16_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0x8e,0xd1,0x01,0x01,0x00,0x20]738// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU739 740v_cvt_norm_u16_f16_e64 v5, |v1|741// GFX9: v_cvt_norm_u16_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0x8e,0xd1,0x01,0x01,0x00,0x00]742// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU743 744v_sat_pk_u8_i16_e64 v5, -1745// GFX9: v_sat_pk_u8_i16_e64 v5, -1 ; encoding: [0x05,0x00,0x8f,0xd1,0xc1,0x00,0x00,0x00]746// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU747 748v_sat_pk_u8_i16_e64 v5, v255749// GFX9: v_sat_pk_u8_i16_e64 v5, v255 ; encoding: [0x05,0x00,0x8f,0xd1,0xff,0x01,0x00,0x00]750// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU751 752v_screen_partition_4se_b32_e64 v5, v1753// NOGCN: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU754// GFX9: v_screen_partition_4se_b32_e64 v5, v1 ; encoding: [0x05,0x00,0x77,0xd1,0x01,0x01,0x00,0x00]755 756v_screen_partition_4se_b32_e64 v5, -1757// NOGCN: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU758// GFX9: v_screen_partition_4se_b32_e64 v5, -1 ; encoding: [0x05,0x00,0x77,0xd1,0xc1,0x00,0x00,0x00]759 760v_add_u32 v84, v13, s31 clamp761// GFX9: v_add_u32_e64 v84, v13, s31 clamp ; encoding: [0x54,0x80,0x34,0xd1,0x0d,0x3f,0x00,0x00]762// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU763// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: invalid operand for instruction764 765v_sub_u32 v84, v13, s31 clamp766// GFX9: v_sub_u32_e64 v84, v13, s31 clamp ; encoding: [0x54,0x80,0x35,0xd1,0x0d,0x3f,0x00,0x00]767// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU768// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: invalid operand for instruction769 770v_subrev_u32 v84, v13, s31 clamp771// GFX9: v_subrev_u32_e64 v84, v13, s31 clamp ; encoding: [0x54,0x80,0x36,0xd1,0x0d,0x3f,0x00,0x00]772// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU773// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: invalid operand for instruction774 775v_addc_co_u32 v84, s[4:5], v13, v31, vcc clamp776// GFX9: v_addc_co_u32_e64 v84, s[4:5], v13, v31, vcc clamp ; encoding: [0x54,0x84,0x1c,0xd1,0x0d,0x3f,0xaa,0x01]777// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU778 779v_subb_co_u32 v84, s[2:3], v13, v31, vcc clamp780// GFX9: v_subb_co_u32_e64 v84, s[2:3], v13, v31, vcc clamp ; encoding: [0x54,0x82,0x1d,0xd1,0x0d,0x3f,0xaa,0x01]781// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU782 783v_subbrev_co_u32 v84, vcc, v13, v31, s[6:7] clamp784// GFX9: v_subbrev_co_u32_e64 v84, vcc, v13, v31, s[6:7] clamp ; encoding: [0x54,0xea,0x1e,0xd1,0x0d,0x3f,0x1a,0x00]785// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU786 787v_add_co_u32 v84, s[4:5], v13, v31 clamp788// GFX9: v_add_co_u32_e64 v84, s[4:5], v13, v31 clamp ; encoding: [0x54,0x84,0x19,0xd1,0x0d,0x3f,0x02,0x00]789// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: integer clamping is not supported on this GPU790// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU791 792v_sub_co_u32 v84, s[2:3], v13, v31 clamp793// GFX9: v_sub_co_u32_e64 v84, s[2:3], v13, v31 clamp ; encoding: [0x54,0x82,0x1a,0xd1,0x0d,0x3f,0x02,0x00]794// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: integer clamping is not supported on this GPU795// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU796 797v_subrev_co_u32 v84, vcc, v13, v31 clamp798// GFX9: v_subrev_co_u32_e64 v84, vcc, v13, v31 clamp ; encoding: [0x54,0xea,0x1b,0xd1,0x0d,0x3f,0x02,0x00]799// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: integer clamping is not supported on this GPU800// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU801 802v_addc_co_u32 v84, vcc, v13, v31, vcc803// GFX9: v_addc_co_u32_e32 v84, vcc, v13, v31, vcc ; encoding: [0x0d,0x3f,0xa8,0x38]804// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU805 806v_subb_co_u32 v84, vcc, v13, v31, vcc807// GFX9: v_subb_co_u32_e32 v84, vcc, v13, v31, vcc ; encoding: [0x0d,0x3f,0xa8,0x3a]808// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU809 810v_subbrev_co_u32 v84, vcc, v13, v31, vcc811// GFX9: v_subbrev_co_u32_e32 v84, vcc, v13, v31, vcc ; encoding: [0x0d,0x3f,0xa8,0x3c]812// NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU813 814v_add_co_u32 v84, vcc, v13, v31815// GFX9: v_add_co_u32_e32 v84, vcc, v13, v31 ; encoding: [0x0d,0x3f,0xa8,0x32]816// NOVI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU817// SICI: v_add_i32_e64 v84, vcc, v13, v31 ; encoding: [0x54,0x6a,0x4a,0xd2,0x0d,0x3f,0x02,0x00]818 819v_sub_co_u32 v84, vcc, v13, v31820// GFX9: v_sub_co_u32_e32 v84, vcc, v13, v31 ; encoding: [0x0d,0x3f,0xa8,0x34]821// NOVI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU822// SICI: v_sub_i32_e64 v84, vcc, v13, v31 ; encoding: [0x54,0x6a,0x4c,0xd2,0x0d,0x3f,0x02,0x00]823 824v_subrev_co_u32 v84, vcc, v13, v31825// GFX9: v_subrev_co_u32_e32 v84, vcc, v13, v31 ; encoding: [0x0d,0x3f,0xa8,0x36]826// NOVI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU827// SICI: v_subrev_i32_e64 v84, vcc, v13, v31 ; encoding: [0x54,0x6a,0x4e,0xd2,0x0d,0x3f,0x02,0x00]828 829v_add_i32 v1, v2, v3830// GFX9: v_add_i32 v1, v2, v3 ; encoding: [0x01,0x00,0x9c,0xd2,0x02,0x07,0x02,0x00]831// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode832// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU833 834v_add_i32 v1, v2, v3 clamp835// GFX9: v_add_i32 v1, v2, v3 clamp ; encoding: [0x01,0x80,0x9c,0xd2,0x02,0x07,0x02,0x00]836// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction837// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU838 839v_sub_i32 v1, v2, v3840// GFX9: v_sub_i32 v1, v2, v3 ; encoding: [0x01,0x00,0x9d,0xd2,0x02,0x07,0x02,0x00]841// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode842// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU843 844v_sub_i32 v1, v2, v3 clamp845// GFX9: v_sub_i32 v1, v2, v3 clamp ; encoding: [0x01,0x80,0x9d,0xd2,0x02,0x07,0x02,0x00]846// NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction847// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU848 849//===----------------------------------------------------------------------===//850// Validate register size checks (bug 37943)851//===----------------------------------------------------------------------===//852 853// NOGCN: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction854// NOGFX9: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction855v_add_f64 v[0:1], s0, v[0:1]856 857// NOGCN: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction858// NOGFX9: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction859v_add_f64 v[0:1], s[0:3], v[0:1]860 861// NOGCN: :[[@LINE+2]]:{{[0-9]+}}: error: too few operands for instruction862// NOGFX9: :[[@LINE+1]]:{{[0-9]+}}: error: too few operands for instruction863v_add_f64 v[0:1], v0, v[0:1]864 865// NOGCN: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction866// NOGFX9: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction867v_add_f64 v[0:1], v[0:2], v[0:1]868 869// NOGCN: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction870// NOGFX9: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction871v_add_f64 v[0:1], v[0:3], v[0:1]872 873// NOGCN: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction874// NOGFX9: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction875v_add_f64 v[0:1], v[0:1], v0876 877// NOGCN: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction878// NOGFX9: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction879v_add_f64 v[0:1], v[0:1], s0880 881// NOGCN: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction882// NOGFX9: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction883v_add_f32 v0, s[0:1], v0884 885// NOGCN: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction886// NOGFX9: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction887v_add_f32 v0, v[0:1], v0888 889// NOGCN: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction890// NOGFX9: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction891v_add_f32 v0, v0, s[0:1]892 893// NOGCN: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction894// NOGFX9: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction895v_add_f32 v0, v0, v[0:1]896 897// NOGFX9: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction898// NOSICI: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU899// NOVI: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction900v_add_f16 v0, s[0:1], v0901 902// NOGFX9: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction903// NOSICI: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU904// NOVI: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction905v_add_f16 v0, v[0:1], v0906 907// NOGFX9: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction908// NOSICI: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU909// NOVI: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction910v_add_f16 v0, v0, s[0:1]911 912// NOGFX9: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction913// NOSICI: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU914// NOVI: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction915v_add_f16 v0, v0, v[0:1]916 917// NOGFX9: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction918// NOSICI: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU919// NOVI: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction920v_add_u16 v0, s[0:1], v0921 922// NOGFX9: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction923// NOSICI: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU924// NOVI: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction925v_add_u16 v0, v[0:1], v0926 927// NOGFX9: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction928// NOSICI: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU929// NOVI: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction930v_add_u16 v0, v0, s[0:1]931 932// NOGFX9: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction933// NOSICI: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU934// NOVI: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction935v_add_u16 v0, v0, v[0:1]936 937