423 lines · plain
1# RUN: llvm-mc -triple=amdgcn -mcpu=tonga -disassemble -show-encoding < %s | FileCheck -strict-whitespace %s2 3# In GFX10+, v_cmpx_* use EXEC as the implicit dst. The disassembler issues a warning when the dst4# is not 0x7e (EXEC). In GFX9 and earlier, these instructions have explicit dst. Therefore, such5# warnings should not be issued.6 7# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding8# CHECK: v_cmpx_class_f32_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0x11,0xd0,0x01,0x05,0x02,0x00]90x0a,0x00,0x11,0xd0,0x01,0x05,0x02,0x0010 11# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding12# CHECK: v_cmpx_class_f32_e64 flat_scratch, v1, v2 ; encoding: [0x66,0x00,0x11,0xd0,0x01,0x05,0x02,0x00]130x66,0x00,0x11,0xd0,0x01,0x05,0x02,0x0014 15# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding16# CHECK: v_cmpx_class_f32_e64 vcc, v1, v2 ; encoding: [0x6a,0x00,0x11,0xd0,0x01,0x05,0x02,0x00]170x6a,0x00,0x11,0xd0,0x01,0x05,0x02,0x0018 19# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding20# CHECK: v_cmpx_class_f32_e64 tba, v1, v2 ; encoding: [0x6c,0x00,0x11,0xd0,0x01,0x05,0x02,0x00]210x6c,0x00,0x11,0xd0,0x01,0x05,0x02,0x0022 23# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding24# CHECK: v_cmpx_class_f32_e64 tma, v1, v2 ; encoding: [0x6e,0x00,0x11,0xd0,0x01,0x05,0x02,0x00]250x6e,0x00,0x11,0xd0,0x01,0x05,0x02,0x0026 27# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding28# CHECK: v_cmpx_class_f32_e64 ttmp[10:11], v1, v2 ; encoding: [0x7a,0x00,0x11,0xd0,0x01,0x05,0x02,0x00]290x7a,0x00,0x11,0xd0,0x01,0x05,0x02,0x0030 31# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding32# CHECK: v_cmpx_class_f64_e64 s[0:1], v[1:2], v2 ; encoding: [0x00,0x00,0x13,0xd0,0x01,0x05,0x02,0x00]330x00,0x00,0x13,0xd0,0x01,0x05,0x02,0x0034 35# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding36# CHECK: v_cmpx_class_f16_e64 s[2:3], v1, v2 ; encoding: [0x02,0x00,0x15,0xd0,0x01,0x05,0x02,0x00]370x02,0x00,0x15,0xd0,0x01,0x05,0x02,0x0038 39# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding40# CHECK: v_cmpx_f_f16_e64 s[4:5], v1, v2 ; encoding: [0x04,0x00,0x30,0xd0,0x01,0x05,0x02,0x00]410x04,0x00,0x30,0xd0,0x01,0x05,0x02,0x0042 43# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding44# CHECK: v_cmpx_lt_f16_e64 s[6:7], v1, v2 ; encoding: [0x06,0x00,0x31,0xd0,0x01,0x05,0x02,0x00]450x06,0x00,0x31,0xd0,0x01,0x05,0x02,0x0046 47# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding48# CHECK: v_cmpx_eq_f16_e64 s[8:9], v1, v2 ; encoding: [0x08,0x00,0x32,0xd0,0x01,0x05,0x02,0x00]490x08,0x00,0x32,0xd0,0x01,0x05,0x02,0x0050 51# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding52# CHECK: v_cmpx_le_f16_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0x33,0xd0,0x01,0x05,0x02,0x00]530x0a,0x00,0x33,0xd0,0x01,0x05,0x02,0x0054 55# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding56# CHECK: v_cmpx_gt_f16_e64 s[12:13], v1, v2 ; encoding: [0x0c,0x00,0x34,0xd0,0x01,0x05,0x02,0x00]570x0c,0x00,0x34,0xd0,0x01,0x05,0x02,0x0058 59# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding60# CHECK: v_cmpx_lg_f16_e64 s[14:15], v1, v2 ; encoding: [0x0e,0x00,0x35,0xd0,0x01,0x05,0x02,0x00]610x0e,0x00,0x35,0xd0,0x01,0x05,0x02,0x0062 63# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding64# CHECK: v_cmpx_ge_f16_e64 s[16:17], v1, v2 ; encoding: [0x10,0x00,0x36,0xd0,0x01,0x05,0x02,0x00]650x10,0x00,0x36,0xd0,0x01,0x05,0x02,0x0066 67# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding68# CHECK: v_cmpx_o_f16_e64 s[18:19], v1, v2 ; encoding: [0x12,0x00,0x37,0xd0,0x01,0x05,0x02,0x00]690x12,0x00,0x37,0xd0,0x01,0x05,0x02,0x0070 71# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding72# CHECK: v_cmpx_u_f16_e64 s[20:21], v1, v2 ; encoding: [0x14,0x00,0x38,0xd0,0x01,0x05,0x02,0x00]730x14,0x00,0x38,0xd0,0x01,0x05,0x02,0x0074 75# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding76# CHECK: v_cmpx_nge_f16_e64 s[22:23], v1, v2 ; encoding: [0x16,0x00,0x39,0xd0,0x01,0x05,0x02,0x00]770x16,0x00,0x39,0xd0,0x01,0x05,0x02,0x0078 79# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding80# CHECK: v_cmpx_nlg_f16_e64 s[24:25], v1, v2 ; encoding: [0x18,0x00,0x3a,0xd0,0x01,0x05,0x02,0x00]810x18,0x00,0x3a,0xd0,0x01,0x05,0x02,0x0082 83# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding84# CHECK: v_cmpx_ngt_f16_e64 s[26:27], v1, v2 ; encoding: [0x1a,0x00,0x3b,0xd0,0x01,0x05,0x02,0x00]850x1a,0x00,0x3b,0xd0,0x01,0x05,0x02,0x0086 87# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding88# CHECK: v_cmpx_nle_f16_e64 s[28:29], v1, v2 ; encoding: [0x1c,0x00,0x3c,0xd0,0x01,0x05,0x02,0x00]890x1c,0x00,0x3c,0xd0,0x01,0x05,0x02,0x0090 91# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding92# CHECK: v_cmpx_neq_f16_e64 s[30:31], v1, v2 ; encoding: [0x1e,0x00,0x3d,0xd0,0x01,0x05,0x02,0x00]930x1e,0x00,0x3d,0xd0,0x01,0x05,0x02,0x0094 95# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding96# CHECK: v_cmpx_nlt_f16_e64 s[32:33], v1, v2 ; encoding: [0x20,0x00,0x3e,0xd0,0x01,0x05,0x02,0x00]970x20,0x00,0x3e,0xd0,0x01,0x05,0x02,0x0098 99# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding100# CHECK: v_cmpx_tru_f16_e64 s[34:35], v1, v2 ; encoding: [0x22,0x00,0x3f,0xd0,0x01,0x05,0x02,0x00]1010x22,0x00,0x3f,0xd0,0x01,0x05,0x02,0x00102 103# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding104# CHECK: v_cmpx_f_f32_e64 s[36:37], v1, v2 ; encoding: [0x24,0x00,0x50,0xd0,0x01,0x05,0x02,0x00]1050x24,0x00,0x50,0xd0,0x01,0x05,0x02,0x00106 107# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding108# CHECK: v_cmpx_lt_f32_e64 s[38:39], v1, v2 ; encoding: [0x26,0x00,0x51,0xd0,0x01,0x05,0x02,0x00]1090x26,0x00,0x51,0xd0,0x01,0x05,0x02,0x00110 111# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding112# CHECK: v_cmpx_eq_f32_e64 s[40:41], v1, v2 ; encoding: [0x28,0x00,0x52,0xd0,0x01,0x05,0x02,0x00]1130x28,0x00,0x52,0xd0,0x01,0x05,0x02,0x00114 115# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding116# CHECK: v_cmpx_le_f32_e64 s[42:43], v1, v2 ; encoding: [0x2a,0x00,0x53,0xd0,0x01,0x05,0x02,0x00]1170x2a,0x00,0x53,0xd0,0x01,0x05,0x02,0x00118 119# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding120# CHECK: v_cmpx_gt_f32_e64 s[44:45], v1, v2 ; encoding: [0x2c,0x00,0x54,0xd0,0x01,0x05,0x02,0x00]1210x2c,0x00,0x54,0xd0,0x01,0x05,0x02,0x00122 123# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding124# CHECK: v_cmpx_lg_f32_e64 s[46:47], v1, v2 ; encoding: [0x2e,0x00,0x55,0xd0,0x01,0x05,0x02,0x00]1250x2e,0x00,0x55,0xd0,0x01,0x05,0x02,0x00126 127# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding128# CHECK: v_cmpx_ge_f32_e64 s[48:49], v1, v2 ; encoding: [0x30,0x00,0x56,0xd0,0x01,0x05,0x02,0x00]1290x30,0x00,0x56,0xd0,0x01,0x05,0x02,0x00130 131# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding132# CHECK: v_cmpx_o_f32_e64 s[50:51], v1, v2 ; encoding: [0x32,0x00,0x57,0xd0,0x01,0x05,0x02,0x00]1330x32,0x00,0x57,0xd0,0x01,0x05,0x02,0x00134 135# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding136# CHECK: v_cmpx_u_f32_e64 s[52:53], v1, v2 ; encoding: [0x34,0x00,0x58,0xd0,0x01,0x05,0x02,0x00]1370x34,0x00,0x58,0xd0,0x01,0x05,0x02,0x00138 139# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding140# CHECK: v_cmpx_nge_f32_e64 s[54:55], v1, v2 ; encoding: [0x36,0x00,0x59,0xd0,0x01,0x05,0x02,0x00]1410x36,0x00,0x59,0xd0,0x01,0x05,0x02,0x00142 143# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding144# CHECK: v_cmpx_nlg_f32_e64 s[56:57], v1, v2 ; encoding: [0x38,0x00,0x5a,0xd0,0x01,0x05,0x02,0x00]1450x38,0x00,0x5a,0xd0,0x01,0x05,0x02,0x00146 147# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding148# CHECK: v_cmpx_ngt_f32_e64 s[58:59], v1, v2 ; encoding: [0x3a,0x00,0x5b,0xd0,0x01,0x05,0x02,0x00]1490x3a,0x00,0x5b,0xd0,0x01,0x05,0x02,0x00150 151# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding152# CHECK: v_cmpx_nle_f32_e64 s[60:61], v1, v2 ; encoding: [0x3c,0x00,0x5c,0xd0,0x01,0x05,0x02,0x00]1530x3c,0x00,0x5c,0xd0,0x01,0x05,0x02,0x00154 155# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding156# CHECK: v_cmpx_neq_f32_e64 s[62:63], v1, v2 ; encoding: [0x3e,0x00,0x5d,0xd0,0x01,0x05,0x02,0x00]1570x3e,0x00,0x5d,0xd0,0x01,0x05,0x02,0x00158 159# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding160# CHECK: v_cmpx_nlt_f32_e64 s[64:65], v1, v2 ; encoding: [0x40,0x00,0x5e,0xd0,0x01,0x05,0x02,0x00]1610x40,0x00,0x5e,0xd0,0x01,0x05,0x02,0x00162 163# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding164# CHECK: v_cmpx_tru_f32_e64 s[66:67], v1, v2 ; encoding: [0x42,0x00,0x5f,0xd0,0x01,0x05,0x02,0x00]1650x42,0x00,0x5f,0xd0,0x01,0x05,0x02,0x00166 167# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding168# CHECK: v_cmpx_f_f64_e64 s[68:69], v[1:2], v[2:3] ; encoding: [0x44,0x00,0x70,0xd0,0x01,0x05,0x02,0x00]1690x44,0x00,0x70,0xd0,0x01,0x05,0x02,0x00170 171# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding172# CHECK: v_cmpx_lt_f64_e64 s[70:71], v[1:2], v[2:3] ; encoding: [0x46,0x00,0x71,0xd0,0x01,0x05,0x02,0x00]1730x46,0x00,0x71,0xd0,0x01,0x05,0x02,0x00174 175# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding176# CHECK: v_cmpx_eq_f64_e64 s[72:73], v[1:2], v[2:3] ; encoding: [0x48,0x00,0x72,0xd0,0x01,0x05,0x02,0x00]1770x48,0x00,0x72,0xd0,0x01,0x05,0x02,0x00178 179# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding180# CHECK: v_cmpx_le_f64_e64 s[74:75], v[1:2], v[2:3] ; encoding: [0x4a,0x00,0x73,0xd0,0x01,0x05,0x02,0x00]1810x4a,0x00,0x73,0xd0,0x01,0x05,0x02,0x00182 183# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding184# CHECK: v_cmpx_gt_f64_e64 s[76:77], v[1:2], v[2:3] ; encoding: [0x4c,0x00,0x74,0xd0,0x01,0x05,0x02,0x00]1850x4c,0x00,0x74,0xd0,0x01,0x05,0x02,0x00186 187# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding188# CHECK: v_cmpx_lg_f64_e64 s[78:79], v[1:2], v[2:3] ; encoding: [0x4e,0x00,0x75,0xd0,0x01,0x05,0x02,0x00]1890x4e,0x00,0x75,0xd0,0x01,0x05,0x02,0x00190 191# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding192# CHECK: v_cmpx_ge_f64_e64 s[80:81], v[1:2], v[2:3] ; encoding: [0x50,0x00,0x76,0xd0,0x01,0x05,0x02,0x00]1930x50,0x00,0x76,0xd0,0x01,0x05,0x02,0x00194 195# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding196# CHECK: v_cmpx_o_f64_e64 s[82:83], v[1:2], v[2:3] ; encoding: [0x52,0x00,0x77,0xd0,0x01,0x05,0x02,0x00]1970x52,0x00,0x77,0xd0,0x01,0x05,0x02,0x00198 199# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding200# CHECK: v_cmpx_u_f64_e64 s[84:85], v[1:2], v[2:3] ; encoding: [0x54,0x00,0x78,0xd0,0x01,0x05,0x02,0x00]2010x54,0x00,0x78,0xd0,0x01,0x05,0x02,0x00202 203# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding204# CHECK: v_cmpx_nge_f64_e64 s[86:87], v[1:2], v[2:3] ; encoding: [0x56,0x00,0x79,0xd0,0x01,0x05,0x02,0x00]2050x56,0x00,0x79,0xd0,0x01,0x05,0x02,0x00206 207# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding208# CHECK: v_cmpx_nlg_f64_e64 s[88:89], v[1:2], v[2:3] ; encoding: [0x58,0x00,0x7a,0xd0,0x01,0x05,0x02,0x00]2090x58,0x00,0x7a,0xd0,0x01,0x05,0x02,0x00210 211# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding212# CHECK: v_cmpx_ngt_f64_e64 s[90:91], v[1:2], v[2:3] ; encoding: [0x5a,0x00,0x7b,0xd0,0x01,0x05,0x02,0x00]2130x5a,0x00,0x7b,0xd0,0x01,0x05,0x02,0x00214 215# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding216# CHECK: v_cmpx_nle_f64_e64 s[92:93], v[1:2], v[2:3] ; encoding: [0x5c,0x00,0x7c,0xd0,0x01,0x05,0x02,0x00]2170x5c,0x00,0x7c,0xd0,0x01,0x05,0x02,0x00218 219# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding220# CHECK: v_cmpx_neq_f64_e64 s[94:95], v[1:2], v[2:3] ; encoding: [0x5e,0x00,0x7d,0xd0,0x01,0x05,0x02,0x00]2210x5e,0x00,0x7d,0xd0,0x01,0x05,0x02,0x00222 223# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding224# CHECK: v_cmpx_nlt_f64_e64 s[96:97], v[1:2], v[2:3] ; encoding: [0x60,0x00,0x7e,0xd0,0x01,0x05,0x02,0x00]2250x60,0x00,0x7e,0xd0,0x01,0x05,0x02,0x00226 227# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding228# CHECK: v_cmpx_tru_f64_e64 s[98:99], v[1:2], v[2:3] ; encoding: [0x62,0x00,0x7f,0xd0,0x01,0x05,0x02,0x00]2290x62,0x00,0x7f,0xd0,0x01,0x05,0x02,0x00230 231# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding232# CHECK: v_cmpx_f_i16_e64 s[100:101], v1, v2 ; encoding: [0x64,0x00,0xb0,0xd0,0x01,0x05,0x02,0x00]2330x64,0x00,0xb0,0xd0,0x01,0x05,0x02,0x00234 235# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding236# CHECK: v_cmpx_lt_i16_e64 flat_scratch, v1, v2 ; encoding: [0x66,0x00,0xb1,0xd0,0x01,0x05,0x02,0x00]2370x66,0x00,0xb1,0xd0,0x01,0x05,0x02,0x00238 239# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding240# CHECK: v_cmpx_eq_i16_e64 xnack_mask, v1, v2 ; encoding: [0x68,0x00,0xb2,0xd0,0x01,0x05,0x02,0x00]2410x68,0x00,0xb2,0xd0,0x01,0x05,0x02,0x00242 243# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding244# CHECK: v_cmpx_le_i16_e64 vcc, v1, v2 ; encoding: [0x6a,0x00,0xb3,0xd0,0x01,0x05,0x02,0x00]2450x6a,0x00,0xb3,0xd0,0x01,0x05,0x02,0x00246 247# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding248# CHECK: v_cmpx_gt_i16_e64 tba, v1, v2 ; encoding: [0x6c,0x00,0xb4,0xd0,0x01,0x05,0x02,0x00]2490x6c,0x00,0xb4,0xd0,0x01,0x05,0x02,0x00250 251# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding252# CHECK: v_cmpx_ne_i16_e64 tma, v1, v2 ; encoding: [0x6e,0x00,0xb5,0xd0,0x01,0x05,0x02,0x00]2530x6e,0x00,0xb5,0xd0,0x01,0x05,0x02,0x00254 255# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding256# CHECK: v_cmpx_ge_i16_e64 ttmp[0:1], v1, v2 ; encoding: [0x70,0x00,0xb6,0xd0,0x01,0x05,0x02,0x00]2570x70,0x00,0xb6,0xd0,0x01,0x05,0x02,0x00258 259# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding260# CHECK: v_cmpx_t_i16_e64 ttmp[2:3], v1, v2 ; encoding: [0x72,0x00,0xb7,0xd0,0x01,0x05,0x02,0x00]2610x72,0x00,0xb7,0xd0,0x01,0x05,0x02,0x00262 263# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding264# CHECK: v_cmpx_f_u16_e64 ttmp[4:5], v1, v2 ; encoding: [0x74,0x00,0xb8,0xd0,0x01,0x05,0x02,0x00]2650x74,0x00,0xb8,0xd0,0x01,0x05,0x02,0x00266 267# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding268# CHECK: v_cmpx_lt_u16_e64 ttmp[6:7], v1, v2 ; encoding: [0x76,0x00,0xb9,0xd0,0x01,0x05,0x02,0x00]2690x76,0x00,0xb9,0xd0,0x01,0x05,0x02,0x00270 271# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding272# CHECK: v_cmpx_eq_u16_e64 ttmp[8:9], v1, v2 ; encoding: [0x78,0x00,0xba,0xd0,0x01,0x05,0x02,0x00]2730x78,0x00,0xba,0xd0,0x01,0x05,0x02,0x00274 275# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding276# CHECK: v_cmpx_le_u16_e64 ttmp[10:11], v1, v2 ; encoding: [0x7a,0x00,0xbb,0xd0,0x01,0x05,0x02,0x00]2770x7a,0x00,0xbb,0xd0,0x01,0x05,0x02,0x00278 279# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding280# CHECK: v_cmpx_gt_u16_e64 exec, v1, v2 ; encoding: [0x7e,0x00,0xbc,0xd0,0x01,0x05,0x02,0x00]2810x7e,0x00,0xbc,0xd0,0x01,0x05,0x02,0x00282 283# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding284# CHECK: v_cmpx_ne_u16_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xbd,0xd0,0x01,0x05,0x02,0x00]2850x0a,0x00,0xbd,0xd0,0x01,0x05,0x02,0x00286 287# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding288# CHECK: v_cmpx_ge_u16_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xbe,0xd0,0x01,0x05,0x02,0x00]2890x0a,0x00,0xbe,0xd0,0x01,0x05,0x02,0x00290 291# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding292# CHECK: v_cmpx_t_u16_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xbf,0xd0,0x01,0x05,0x02,0x00]2930x0a,0x00,0xbf,0xd0,0x01,0x05,0x02,0x00294 295# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding296# CHECK: v_cmpx_f_i32_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xd0,0xd0,0x01,0x05,0x02,0x00]2970x0a,0x00,0xd0,0xd0,0x01,0x05,0x02,0x00298 299# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding300# CHECK: v_cmpx_lt_i32_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xd1,0xd0,0x01,0x05,0x02,0x00]3010x0a,0x00,0xd1,0xd0,0x01,0x05,0x02,0x00302 303# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding304# CHECK: v_cmpx_eq_i32_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xd2,0xd0,0x01,0x05,0x02,0x00]3050x0a,0x00,0xd2,0xd0,0x01,0x05,0x02,0x00306 307# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding308# CHECK: v_cmpx_le_i32_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xd3,0xd0,0x01,0x05,0x02,0x00]3090x0a,0x00,0xd3,0xd0,0x01,0x05,0x02,0x00310 311# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding312# CHECK: v_cmpx_gt_i32_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xd4,0xd0,0x01,0x05,0x02,0x00]3130x0a,0x00,0xd4,0xd0,0x01,0x05,0x02,0x00314 315# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding316# CHECK: v_cmpx_ne_i32_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xd5,0xd0,0x01,0x05,0x02,0x00]3170x0a,0x00,0xd5,0xd0,0x01,0x05,0x02,0x00318 319# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding320# CHECK: v_cmpx_ge_i32_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xd6,0xd0,0x01,0x05,0x02,0x00]3210x0a,0x00,0xd6,0xd0,0x01,0x05,0x02,0x00322 323# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding324# CHECK: v_cmpx_t_i32_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xd7,0xd0,0x01,0x05,0x02,0x00]3250x0a,0x00,0xd7,0xd0,0x01,0x05,0x02,0x00326 327# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding328# CHECK: v_cmpx_f_u32_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xd8,0xd0,0x01,0x05,0x02,0x00]3290x0a,0x00,0xd8,0xd0,0x01,0x05,0x02,0x00330 331# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding332# CHECK: v_cmpx_lt_u32_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xd9,0xd0,0x01,0x05,0x02,0x00]3330x0a,0x00,0xd9,0xd0,0x01,0x05,0x02,0x00334 335# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding336# CHECK: v_cmpx_eq_u32_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xda,0xd0,0x01,0x05,0x02,0x00]3370x0a,0x00,0xda,0xd0,0x01,0x05,0x02,0x00338 339# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding340# CHECK: v_cmpx_le_u32_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xdb,0xd0,0x01,0x05,0x02,0x00]3410x0a,0x00,0xdb,0xd0,0x01,0x05,0x02,0x00342 343# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding344# CHECK: v_cmpx_gt_u32_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xdc,0xd0,0x01,0x05,0x02,0x00]3450x0a,0x00,0xdc,0xd0,0x01,0x05,0x02,0x00346 347# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding348# CHECK: v_cmpx_ne_u32_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xdd,0xd0,0x01,0x05,0x02,0x00]3490x0a,0x00,0xdd,0xd0,0x01,0x05,0x02,0x00350 351# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding352# CHECK: v_cmpx_ge_u32_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xde,0xd0,0x01,0x05,0x02,0x00]3530x0a,0x00,0xde,0xd0,0x01,0x05,0x02,0x00354 355# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding356# CHECK: v_cmpx_t_u32_e64 s[10:11], v1, v2 ; encoding: [0x0a,0x00,0xdf,0xd0,0x01,0x05,0x02,0x00]3570x0a,0x00,0xdf,0xd0,0x01,0x05,0x02,0x00358 359# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding360# CHECK: v_cmpx_f_i64_e64 s[10:11], v[1:2], v[2:3] ; encoding: [0x0a,0x00,0xf0,0xd0,0x01,0x05,0x02,0x00]3610x0a,0x00,0xf0,0xd0,0x01,0x05,0x02,0x00362 363# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding364# CHECK: v_cmpx_lt_i64_e64 s[10:11], v[1:2], v[2:3] ; encoding: [0x0a,0x00,0xf1,0xd0,0x01,0x05,0x02,0x00]3650x0a,0x00,0xf1,0xd0,0x01,0x05,0x02,0x00366 367# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding368# CHECK: v_cmpx_eq_i64_e64 s[10:11], v[1:2], v[2:3] ; encoding: [0x0a,0x00,0xf2,0xd0,0x01,0x05,0x02,0x00]3690x0a,0x00,0xf2,0xd0,0x01,0x05,0x02,0x00370 371# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding372# CHECK: v_cmpx_le_i64_e64 s[10:11], v[1:2], v[2:3] ; encoding: [0x0a,0x00,0xf3,0xd0,0x01,0x05,0x02,0x00]3730x0a,0x00,0xf3,0xd0,0x01,0x05,0x02,0x00374 375# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding376# CHECK: v_cmpx_gt_i64_e64 s[10:11], v[1:2], v[2:3] ; encoding: [0x0a,0x00,0xf4,0xd0,0x01,0x05,0x02,0x00]3770x0a,0x00,0xf4,0xd0,0x01,0x05,0x02,0x00378 379# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding380# CHECK: v_cmpx_ne_i64_e64 s[10:11], v[1:2], v[2:3] ; encoding: [0x0a,0x00,0xf5,0xd0,0x01,0x05,0x02,0x00]3810x0a,0x00,0xf5,0xd0,0x01,0x05,0x02,0x00382 383# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding384# CHECK: v_cmpx_ge_i64_e64 s[10:11], v[1:2], v[2:3] ; encoding: [0x0a,0x00,0xf6,0xd0,0x01,0x05,0x02,0x00]3850x0a,0x00,0xf6,0xd0,0x01,0x05,0x02,0x00386 387# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding388# CHECK: v_cmpx_t_i64_e64 s[10:11], v[1:2], v[2:3] ; encoding: [0x0a,0x00,0xf7,0xd0,0x01,0x05,0x02,0x00]3890x0a,0x00,0xf7,0xd0,0x01,0x05,0x02,0x00390 391# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding392# CHECK: v_cmpx_f_u64_e64 s[10:11], v[1:2], v[2:3] ; encoding: [0x0a,0x00,0xf8,0xd0,0x01,0x05,0x02,0x00]3930x0a,0x00,0xf8,0xd0,0x01,0x05,0x02,0x00394 395# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding396# CHECK: v_cmpx_lt_u64_e64 s[10:11], v[1:2], v[2:3] ; encoding: [0x0a,0x00,0xf9,0xd0,0x01,0x05,0x02,0x00]3970x0a,0x00,0xf9,0xd0,0x01,0x05,0x02,0x00398 399# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding400# CHECK: v_cmpx_eq_u64_e64 s[10:11], v[1:2], v[2:3] ; encoding: [0x0a,0x00,0xfa,0xd0,0x01,0x05,0x02,0x00]4010x0a,0x00,0xfa,0xd0,0x01,0x05,0x02,0x00402 403# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding404# CHECK: v_cmpx_le_u64_e64 s[10:11], v[1:2], v[2:3] ; encoding: [0x0a,0x00,0xfb,0xd0,0x01,0x05,0x02,0x00]4050x0a,0x00,0xfb,0xd0,0x01,0x05,0x02,0x00406 407# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding408# CHECK: v_cmpx_gt_u64_e64 s[10:11], v[1:2], v[2:3] ; encoding: [0x0a,0x00,0xfc,0xd0,0x01,0x05,0x02,0x00]4090x0a,0x00,0xfc,0xd0,0x01,0x05,0x02,0x00410 411# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding412# CHECK: v_cmpx_ne_u64_e64 s[10:11], v[1:2], v[2:3] ; encoding: [0x0a,0x00,0xfd,0xd0,0x01,0x05,0x02,0x00]4130x0a,0x00,0xfd,0xd0,0x01,0x05,0x02,0x00414 415# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding416# CHECK: v_cmpx_ge_u64_e64 s[10:11], v[1:2], v[2:3] ; encoding: [0x0a,0x00,0xfe,0xd0,0x01,0x05,0x02,0x00]4170x0a,0x00,0xfe,0xd0,0x01,0x05,0x02,0x00418 419# CHECK-NOT: [[@LINE+2]]:1: warning: potentially undefined instruction encoding420# CHECK: v_cmpx_t_u64_e64 s[10:11], v[1:2], v[2:3] ; encoding: [0x0a,0x00,0xff,0xd0,0x01,0x05,0x02,0x00]4210x0a,0x00,0xff,0xd0,0x01,0x05,0x02,0x00422 423