1# RUN: llvm-mc -arch=amdgcn -mcpu=tonga -disassemble -show-encoding < %s | FileCheck %s -check-prefix=VI 2 3# VI: ds_add_u32 v2, v4 offset:16 ; encoding: [0x10,0x00,0x00,0xd8,0x02,0x04,0x00,0x00] 40x10 0x00 0x00 0xd8 0x02 0x04 0x00 0x00 5 6# VI: ds_write2_b32 v2, v4, v6 offset0:4 ; encoding: [0x04,0x00,0x1c,0xd8,0x02,0x04,0x06,0x00] 70x04 0x00 0x1c 0xd8 0x02 0x04 0x06 0x00 8 9# VI: ds_write2_b32 v2, v4, v6 offset0:4 offset1:8 ; encoding: [0x04,0x08,0x1c,0xd8,0x02,0x04,0x06,0x00] 100x04 0x08 0x1c 0xd8 0x02 0x04 0x06 0x00 11 12# VI: ds_write2_b32 v2, v4, v6 offset1:8 ; encoding: [0x00,0x08,0x1c,0xd8,0x02,0x04,0x06,0x00] 130x00 0x08 0x1c 0xd8 0x02 0x04 0x06 0x00 14 15# VI: ds_read2_b32 v[8:9], v2 offset0:4 ; encoding: [0x04,0x00,0x6e,0xd8,0x02,0x00,0x00,0x08] 160x04 0x00 0x6e 0xd8 0x02 0x00 0x00 0x08 17 18# VI: ds_read2_b32 v[8:9], v2 offset0:4 offset1:8 ; encoding: [0x04,0x08,0x6e,0xd8,0x02,0x00,0x00,0x08] 190x04 0x08 0x6e 0xd8 0x02 0x00 0x00 0x08 20 21# VI: ds_read2_b32 v[8:9], v2 offset1:8 ; encoding: [0x00,0x08,0x6e,0xd8,0x02,0x00,0x00,0x08] 220x00 0x08 0x6e 0xd8 0x02 0x00 0x00 0x08 23 24# VI: ds_add_u32 v2, v4 ; encoding: [0x00,0x00,0x00,0xd8,0x02,0x04,0x00,0x00] 250x00 0x00 0x00 0xd8 0x02 0x04 0x00 0x00 26 27# VI: ds_sub_u32 v2, v4 ; encoding: [0x00,0x00,0x02,0xd8,0x02,0x04,0x00,0x00] 280x00 0x00 0x02 0xd8 0x02 0x04 0x00 0x00 29 30# VI: ds_rsub_u32 v2, v4 ; encoding: [0x00,0x00,0x04,0xd8,0x02,0x04,0x00,0x00] 310x00 0x00 0x04 0xd8 0x02 0x04 0x00 0x00 32 33# VI: ds_inc_u32 v2, v4 ; encoding: [0x00,0x00,0x06,0xd8,0x02,0x04,0x00,0x00] 340x00 0x00 0x06 0xd8 0x02 0x04 0x00 0x00 35 36# VI: ds_dec_u32 v2, v4 ; encoding: [0x00,0x00,0x08,0xd8,0x02,0x04,0x00,0x00] 370x00 0x00 0x08 0xd8 0x02 0x04 0x00 0x00 38 39# VI: ds_min_i32 v2, v4 ; encoding: [0x00,0x00,0x0a,0xd8,0x02,0x04,0x00,0x00] 400x00 0x00 0x0a 0xd8 0x02 0x04 0x00 0x00 41 42# VI: ds_max_i32 v2, v4 ; encoding: [0x00,0x00,0x0c,0xd8,0x02,0x04,0x00,0x00] 430x00 0x00 0x0c 0xd8 0x02 0x04 0x00 0x00 44 45# VI: ds_min_u32 v2, v4 ; encoding: [0x00,0x00,0x0e,0xd8,0x02,0x04,0x00,0x00] 460x00 0x00 0x0e 0xd8 0x02 0x04 0x00 0x00 47 48# VI: ds_max_u32 v2, v4 ; encoding: [0x00,0x00,0x10,0xd8,0x02,0x04,0x00,0x00] 490x00 0x00 0x10 0xd8 0x02 0x04 0x00 0x00 50 51# VI: ds_and_b32 v2, v4 ; encoding: [0x00,0x00,0x12,0xd8,0x02,0x04,0x00,0x00] 520x00 0x00 0x12 0xd8 0x02 0x04 0x00 0x00 53 54# VI: ds_or_b32 v2, v4 ; encoding: [0x00,0x00,0x14,0xd8,0x02,0x04,0x00,0x00] 550x00 0x00 0x14 0xd8 0x02 0x04 0x00 0x00 56 57# VI: ds_xor_b32 v2, v4 ; encoding: [0x00,0x00,0x16,0xd8,0x02,0x04,0x00,0x00] 580x00 0x00 0x16 0xd8 0x02 0x04 0x00 0x00 59 60# VI: ds_mskor_b32 v2, v4, v6 ; encoding: [0x00,0x00,0x18,0xd8,0x02,0x04,0x06,0x00] 610x00 0x00 0x18 0xd8 0x02 0x04 0x06 0x00 62 63# VI: ds_write_b32 v2, v4 ; encoding: [0x00,0x00,0x1a,0xd8,0x02,0x04,0x00,0x00] 640x00 0x00 0x1a 0xd8 0x02 0x04 0x00 0x00 65 66# VI: ds_write2_b32 v2, v4, v6 ; encoding: [0x00,0x00,0x1c,0xd8,0x02,0x04,0x06,0x00] 670x00 0x00 0x1c 0xd8 0x02 0x04 0x06 0x00 68 69# VI: ds_write2st64_b32 v2, v4, v6 ; encoding: [0x00,0x00,0x1e,0xd8,0x02,0x04,0x06,0x00] 700x00 0x00 0x1e 0xd8 0x02 0x04 0x06 0x00 71 72# VI: ds_cmpst_b32 v2, v4, v6 ; encoding: [0x00,0x00,0x20,0xd8,0x02,0x04,0x06,0x00] 730x00 0x00 0x20 0xd8 0x02 0x04 0x06 0x00 74 75# VI: ds_cmpst_f32 v2, v4, v6 ; encoding: [0x00,0x00,0x22,0xd8,0x02,0x04,0x06,0x00] 760x00 0x00 0x22 0xd8 0x02 0x04 0x06 0x00 77 78# VI: ds_min_f32 v2, v4, v6 ; encoding: [0x00,0x00,0x24,0xd8,0x02,0x04,0x06,0x00] 790x00 0x00 0x24 0xd8 0x02 0x04 0x06 0x00 80 81# VI: ds_max_f32 v2, v4, v6 ; encoding: [0x00,0x00,0x26,0xd8,0x02,0x04,0x06,0x00] 820x00 0x00 0x26 0xd8 0x02 0x04 0x06 0x00 83 84# VI: ds_gws_init v2 gds ; encoding: [0x00,0x00,0x33,0xd8,0x02,0x00,0x00,0x00] 850x00 0x00 0x33 0xd8 0x02 0x00 0x00 0x00 86 87# VI: ds_gws_sema_v v2 gds ; encoding: [0x00,0x00,0x35,0xd8,0x02,0x00,0x00,0x00] 880x00 0x00 0x35 0xd8 0x02 0x00 0x00 0x00 89 90# VI: ds_gws_sema_br v2 gds ; encoding: [0x00,0x00,0x37,0xd8,0x02,0x00,0x00,0x00] 910x00 0x00 0x37 0xd8 0x02 0x00 0x00 0x00 92 93# VI: ds_gws_sema_p v2 gds ; encoding: [0x00,0x00,0x39,0xd8,0x02,0x00,0x00,0x00] 940x00 0x00 0x39 0xd8 0x02 0x00 0x00 0x00 95 96# VI: ds_gws_barrier v2 gds ; encoding: [0x00,0x00,0x3b,0xd8,0x02,0x00,0x00,0x00] 970x00 0x00 0x3b 0xd8 0x02 0x00 0x00 0x00 98 99# VI: ds_write_b8 v2, v4 ; encoding: [0x00,0x00,0x3c,0xd8,0x02,0x04,0x00,0x00] 1000x00 0x00 0x3c 0xd8 0x02 0x04 0x00 0x00 101 102# VI: ds_write_b16 v2, v4 ; encoding: [0x00,0x00,0x3e,0xd8,0x02,0x04,0x00,0x00] 1030x00 0x00 0x3e 0xd8 0x02 0x04 0x00 0x00 104 105# VI: ds_add_rtn_u32 v8, v2, v4 ; encoding: [0x00,0x00,0x40,0xd8,0x02,0x04,0x00,0x08] 1060x00 0x00 0x40 0xd8 0x02 0x04 0x00 0x08 107 108# VI: ds_sub_rtn_u32 v8, v2, v4 ; encoding: [0x00,0x00,0x42,0xd8,0x02,0x04,0x00,0x08] 1090x00 0x00 0x42 0xd8 0x02 0x04 0x00 0x08 110 111# VI: ds_rsub_rtn_u32 v8, v2, v4 ; encoding: [0x00,0x00,0x44,0xd8,0x02,0x04,0x00,0x08] 1120x00 0x00 0x44 0xd8 0x02 0x04 0x00 0x08 113 114# VI: ds_inc_rtn_u32 v8, v2, v4 ; encoding: [0x00,0x00,0x46,0xd8,0x02,0x04,0x00,0x08] 1150x00 0x00 0x46 0xd8 0x02 0x04 0x00 0x08 116 117# VI: ds_dec_rtn_u32 v8, v2, v4 ; encoding: [0x00,0x00,0x48,0xd8,0x02,0x04,0x00,0x08] 1180x00 0x00 0x48 0xd8 0x02 0x04 0x00 0x08 119 120# VI: ds_min_rtn_i32 v8, v2, v4 ; encoding: [0x00,0x00,0x4a,0xd8,0x02,0x04,0x00,0x08] 1210x00 0x00 0x4a 0xd8 0x02 0x04 0x00 0x08 122 123# VI: ds_max_rtn_i32 v8, v2, v4 ; encoding: [0x00,0x00,0x4c,0xd8,0x02,0x04,0x00,0x08] 1240x00 0x00 0x4c 0xd8 0x02 0x04 0x00 0x08 125 126# VI: ds_min_rtn_u32 v8, v2, v4 ; encoding: [0x00,0x00,0x4e,0xd8,0x02,0x04,0x00,0x08] 1270x00 0x00 0x4e 0xd8 0x02 0x04 0x00 0x08 128 129# VI: ds_max_rtn_u32 v8, v2, v4 ; encoding: [0x00,0x00,0x50,0xd8,0x02,0x04,0x00,0x08] 1300x00 0x00 0x50 0xd8 0x02 0x04 0x00 0x08 131 132# VI: ds_and_rtn_b32 v8, v2, v4 ; encoding: [0x00,0x00,0x52,0xd8,0x02,0x04,0x00,0x08] 1330x00 0x00 0x52 0xd8 0x02 0x04 0x00 0x08 134 135# VI: ds_or_rtn_b32 v8, v2, v4 ; encoding: [0x00,0x00,0x54,0xd8,0x02,0x04,0x00,0x08] 1360x00 0x00 0x54 0xd8 0x02 0x04 0x00 0x08 137 138# VI: ds_xor_rtn_b32 v8, v2, v4 ; encoding: [0x00,0x00,0x56,0xd8,0x02,0x04,0x00,0x08] 1390x00 0x00 0x56 0xd8 0x02 0x04 0x00 0x08 140 141# VI: ds_mskor_rtn_b32 v8, v2, v4, v6 ; encoding: [0x00,0x00,0x58,0xd8,0x02,0x04,0x06,0x08] 1420x00 0x00 0x58 0xd8 0x02 0x04 0x06 0x08 143 144# VI: ds_wrxchg_rtn_b32 v8, v2, v4 ; encoding: [0x00,0x00,0x5a,0xd8,0x02,0x04,0x00,0x08] 1450x00 0x00 0x5a 0xd8 0x02 0x04 0x00 0x08 146 147# VI: ds_wrxchg2_rtn_b32 v[8:9], v2, v4, v6 ; encoding: [0x00,0x00,0x5c,0xd8,0x02,0x04,0x06,0x08] 1480x00 0x00 0x5c 0xd8 0x02 0x04 0x06 0x08 149 150# VI: ds_wrxchg2st64_rtn_b32 v[8:9], v2, v4, v6 ; encoding: [0x00,0x00,0x5e,0xd8,0x02,0x04,0x06,0x08] 1510x00 0x00 0x5e 0xd8 0x02 0x04 0x06 0x08 152 153# VI: ds_cmpst_rtn_b32 v8, v2, v4, v6 ; encoding: [0x00,0x00,0x60,0xd8,0x02,0x04,0x06,0x08] 1540x00 0x00 0x60 0xd8 0x02 0x04 0x06 0x08 155 156# VI: ds_cmpst_rtn_f32 v8, v2, v4, v6 ; encoding: [0x00,0x00,0x62,0xd8,0x02,0x04,0x06,0x08] 1570x00 0x00 0x62 0xd8 0x02 0x04 0x06 0x08 158 159# VI: ds_min_rtn_f32 v8, v2, v4, v6 ; encoding: [0x00,0x00,0x64,0xd8,0x02,0x04,0x06,0x08] 1600x00 0x00 0x64 0xd8 0x02 0x04 0x06 0x08 161 162# VI: ds_max_rtn_f32 v8, v2, v4, v6 ; encoding: [0x00,0x00,0x66,0xd8,0x02,0x04,0x06,0x08] 1630x00 0x00 0x66 0xd8 0x02 0x04 0x06 0x08 164 165# VI: ds_swizzle_b32 v8, v2 ; encoding: [0x00,0x00,0x7a,0xd8,0x02,0x00,0x00,0x08] 1660x00 0x00 0x7a 0xd8 0x02 0x00 0x00 0x08 167 168# VI: ds_read_b32 v8, v2 ; encoding: [0x00,0x00,0x6c,0xd8,0x02,0x00,0x00,0x08] 1690x00 0x00 0x6c 0xd8 0x02 0x00 0x00 0x08 170 171# VI: ds_read2_b32 v[8:9], v2 ; encoding: [0x00,0x00,0x6e,0xd8,0x02,0x00,0x00,0x08] 1720x00 0x00 0x6e 0xd8 0x02 0x00 0x00 0x08 173 174# VI: ds_read2st64_b32 v[8:9], v2 ; encoding: [0x00,0x00,0x70,0xd8,0x02,0x00,0x00,0x08] 1750x00 0x00 0x70 0xd8 0x02 0x00 0x00 0x08 176 177# VI: ds_read_i8 v8, v2 ; encoding: [0x00,0x00,0x72,0xd8,0x02,0x00,0x00,0x08] 1780x00 0x00 0x72 0xd8 0x02 0x00 0x00 0x08 179 180# VI: ds_read_u8 v8, v2 ; encoding: [0x00,0x00,0x74,0xd8,0x02,0x00,0x00,0x08] 1810x00 0x00 0x74 0xd8 0x02 0x00 0x00 0x08 182 183# VI: ds_read_i16 v8, v2 ; encoding: [0x00,0x00,0x76,0xd8,0x02,0x00,0x00,0x08] 1840x00 0x00 0x76 0xd8 0x02 0x00 0x00 0x08 185 186# VI: ds_read_u16 v8, v2 ; encoding: [0x00,0x00,0x78,0xd8,0x02,0x00,0x00,0x08] 1870x00 0x00 0x78 0xd8 0x02 0x00 0x00 0x08 188 189# VI: ds_consume v8 ; encoding: [0x00,0x00,0x7a,0xd8,0x00,0x00,0x00,0x08] 1900x00 0x00 0x7a 0xd8 0x00 0x00 0x00 0x08 191 192# FIXME: ds_append v8 ; encoding: [0x00,0x00,0x7c,0xd8,0x00,0x00,0x00,0x08] 1930x00 0x00 0x7c 0xd8 0x00 0x00 0x00 0x08 194 195# VI: ds_ordered_count v8, v2 gds ; encoding: [0x00,0x00,0x7f,0xd8,0x02,0x00,0x00,0x08] 1960x00 0x00 0x7f 0xd8 0x02 0x00 0x00 0x08 197 198# VI: ds_add_u64 v2, v[4:5] ; encoding: [0x00,0x00,0x80,0xd8,0x02,0x04,0x00,0x00] 1990x00 0x00 0x80 0xd8 0x02 0x04 0x00 0x00 200 201# VI: ds_sub_u64 v2, v[4:5] ; encoding: [0x00,0x00,0x82,0xd8,0x02,0x04,0x00,0x00] 2020x00 0x00 0x82 0xd8 0x02 0x04 0x00 0x00 203 204# VI: ds_rsub_u64 v2, v[4:5] ; encoding: [0x00,0x00,0x84,0xd8,0x02,0x04,0x00,0x00] 2050x00 0x00 0x84 0xd8 0x02 0x04 0x00 0x00 206 207# VI: ds_inc_u64 v2, v[4:5] ; encoding: [0x00,0x00,0x86,0xd8,0x02,0x04,0x00,0x00] 2080x00 0x00 0x86 0xd8 0x02 0x04 0x00 0x00 209 210# VI: ds_dec_u64 v2, v[4:5] ; encoding: [0x00,0x00,0x88,0xd8,0x02,0x04,0x00,0x00] 2110x00 0x00 0x88 0xd8 0x02 0x04 0x00 0x00 212 213# VI: ds_min_i64 v2, v[4:5] ; encoding: [0x00,0x00,0x8a,0xd8,0x02,0x04,0x00,0x00] 2140x00 0x00 0x8a 0xd8 0x02 0x04 0x00 0x00 215 216# VI: ds_max_i64 v2, v[4:5] ; encoding: [0x00,0x00,0x8c,0xd8,0x02,0x04,0x00,0x00] 2170x00 0x00 0x8c 0xd8 0x02 0x04 0x00 0x00 218 219# VI: ds_min_u64 v2, v[4:5] ; encoding: [0x00,0x00,0x8e,0xd8,0x02,0x04,0x00,0x00] 2200x00 0x00 0x8e 0xd8 0x02 0x04 0x00 0x00 221 222# VI: ds_max_u64 v2, v[4:5] ; encoding: [0x00,0x00,0x90,0xd8,0x02,0x04,0x00,0x00] 2230x00 0x00 0x90 0xd8 0x02 0x04 0x00 0x00 224 225# VI: ds_and_b64 v2, v[4:5] ; encoding: [0x00,0x00,0x92,0xd8,0x02,0x04,0x00,0x00] 2260x00 0x00 0x92 0xd8 0x02 0x04 0x00 0x00 227 228# VI: ds_or_b64 v2, v[4:5] ; encoding: [0x00,0x00,0x94,0xd8,0x02,0x04,0x00,0x00] 2290x00 0x00 0x94 0xd8 0x02 0x04 0x00 0x00 230 231# VI: ds_xor_b64 v2, v[4:5] ; encoding: [0x00,0x00,0x96,0xd8,0x02,0x04,0x00,0x00] 2320x00 0x00 0x96 0xd8 0x02 0x04 0x00 0x00 233 234# VI: ds_mskor_b64 v2, v[4:5], v[6:7] ; encoding: [0x00,0x00,0x98,0xd8,0x02,0x04,0x06,0x00] 2350x00 0x00 0x98 0xd8 0x02 0x04 0x06 0x00 236 237# VI: ds_write_b64 v2, v[4:5] ; encoding: [0x00,0x00,0x9a,0xd8,0x02,0x04,0x00,0x00] 2380x00 0x00 0x9a 0xd8 0x02 0x04 0x00 0x00 239 240# VI: ds_write2_b64 v2, v[4:5], v[6:7] ; encoding: [0x00,0x00,0x9c,0xd8,0x02,0x04,0x06,0x00] 2410x00 0x00 0x9c 0xd8 0x02 0x04 0x06 0x00 242 243# VI: ds_write2st64_b64 v2, v[4:5], v[6:7] ; encoding: [0x00,0x00,0x9e,0xd8,0x02,0x04,0x06,0x00] 2440x00 0x00 0x9e 0xd8 0x02 0x04 0x06 0x00 245 246# VI: ds_cmpst_b64 v2, v[4:5], v[6:7] ; encoding: [0x00,0x00,0xa0,0xd8,0x02,0x04,0x06,0x00] 2470x00 0x00 0xa0 0xd8 0x02 0x04 0x06 0x00 248 249# VI: ds_cmpst_f64 v2, v[4:5], v[6:7] ; encoding: [0x00,0x00,0xa2,0xd8,0x02,0x04,0x06,0x00] 2500x00 0x00 0xa2 0xd8 0x02 0x04 0x06 0x00 251 252# VI: ds_min_f64 v2, v[4:5] ; encoding: [0x00,0x00,0xa4,0xd8,0x02,0x04,0x00,0x00] 2530x00 0x00 0xa4 0xd8 0x02 0x04 0x00 0x00 254 255# VI: ds_max_f64 v2, v[4:5] ; encoding: [0x00,0x00,0xa6,0xd8,0x02,0x04,0x00,0x00] 2560x00 0x00 0xa6 0xd8 0x02 0x04 0x00 0x00 257 258# VI: ds_add_rtn_u64 v[8:9], v2, v[4:5] ; encoding: [0x00,0x00,0xc0,0xd8,0x02,0x04,0x00,0x08] 2590x00 0x00 0xc0 0xd8 0x02 0x04 0x00 0x08 260 261# VI: ds_sub_rtn_u64 v[8:9], v2, v[4:5] ; encoding: [0x00,0x00,0xc2,0xd8,0x02,0x04,0x00,0x08] 2620x00 0x00 0xc2 0xd8 0x02 0x04 0x00 0x08 263 264# VI: ds_rsub_rtn_u64 v[8:9], v2, v[4:5] ; encoding: [0x00,0x00,0xc4,0xd8,0x02,0x04,0x00,0x08] 2650x00 0x00 0xc4 0xd8 0x02 0x04 0x00 0x08 266 267# VI: ds_inc_rtn_u64 v[8:9], v2, v[4:5] ; encoding: [0x00,0x00,0xc6,0xd8,0x02,0x04,0x00,0x08] 2680x00 0x00 0xc6 0xd8 0x02 0x04 0x00 0x08 269 270# VI: ds_dec_rtn_u64 v[8:9], v2, v[4:5] ; encoding: [0x00,0x00,0xc8,0xd8,0x02,0x04,0x00,0x08] 2710x00 0x00 0xc8 0xd8 0x02 0x04 0x00 0x08 272 273# VI: ds_min_rtn_i64 v[8:9], v2, v[4:5] ; encoding: [0x00,0x00,0xca,0xd8,0x02,0x04,0x00,0x08] 2740x00 0x00 0xca 0xd8 0x02 0x04 0x00 0x08 275 276# VI: ds_max_rtn_i64 v[8:9], v2, v[4:5] ; encoding: [0x00,0x00,0xcc,0xd8,0x02,0x04,0x00,0x08] 2770x00 0x00 0xcc 0xd8 0x02 0x04 0x00 0x08 278 279# VI: ds_min_rtn_u64 v[8:9], v2, v[4:5] ; encoding: [0x00,0x00,0xce,0xd8,0x02,0x04,0x00,0x08] 2800x00 0x00 0xce 0xd8 0x02 0x04 0x00 0x08 281 282# VI: ds_max_rtn_u64 v[8:9], v2, v[4:5] ; encoding: [0x00,0x00,0xd0,0xd8,0x02,0x04,0x00,0x08] 2830x00 0x00 0xd0 0xd8 0x02 0x04 0x00 0x08 284 285# VI: ds_and_rtn_b64 v[8:9], v2, v[4:5] ; encoding: [0x00,0x00,0xd2,0xd8,0x02,0x04,0x00,0x08] 2860x00 0x00 0xd2 0xd8 0x02 0x04 0x00 0x08 287 288# VI: ds_or_rtn_b64 v[8:9], v2, v[4:5] ; encoding: [0x00,0x00,0xd4,0xd8,0x02,0x04,0x00,0x08] 2890x00 0x00 0xd4 0xd8 0x02 0x04 0x00 0x08 290 291# VI: ds_xor_rtn_b64 v[8:9], v2, v[4:5] ; encoding: [0x00,0x00,0xd6,0xd8,0x02,0x04,0x00,0x08] 2920x00 0x00 0xd6 0xd8 0x02 0x04 0x00 0x08 293 294# VI: ds_mskor_rtn_b64 v[8:9], v2, v[4:5], v[6:7] ; encoding: [0x00,0x00,0xd8,0xd8,0x02,0x04,0x06,0x08] 2950x00 0x00 0xd8 0xd8 0x02 0x04 0x06 0x08 296 297# VI: ds_wrxchg_rtn_b64 v[8:9], v2, v[4:5] ; encoding: [0x00,0x00,0xda,0xd8,0x02,0x04,0x00,0x08] 2980x00 0x00 0xda 0xd8 0x02 0x04 0x00 0x08 299 300# VI: ds_wrxchg2_rtn_b64 v[8:11], v2, v[4:5], v[6:7] ; encoding: [0x00,0x00,0xdc,0xd8,0x02,0x04,0x06,0x08] 3010x00 0x00 0xdc 0xd8 0x02 0x04 0x06 0x08 302 303# VI: ds_wrxchg2st64_rtn_b64 v[8:11], v2, v[4:5], v[6:7] ; encoding: [0x00,0x00,0xde,0xd8,0x02,0x04,0x06,0x08] 3040x00 0x00 0xde 0xd8 0x02 0x04 0x06 0x08 305 306# VI: ds_cmpst_rtn_b64 v[8:9], v2, v[4:5], v[6:7] ; encoding: [0x00,0x00,0xe0,0xd8,0x02,0x04,0x06,0x08] 3070x00 0x00 0xe0 0xd8 0x02 0x04 0x06 0x08 308 309# VI: ds_cmpst_rtn_f64 v[8:9], v2, v[4:5], v[6:7] ; encoding: [0x00,0x00,0xe2,0xd8,0x02,0x04,0x06,0x08] 3100x00 0x00 0xe2 0xd8 0x02 0x04 0x06 0x08 311 312# VI: ds_min_rtn_f64 v[8:9], v2, v[4:5] ; encoding: [0x00,0x00,0xe4,0xd8,0x02,0x04,0x00,0x08] 3130x00 0x00 0xe4 0xd8 0x02 0x04 0x00 0x08 314 315# VI: ds_max_rtn_f64 v[8:9], v2, v[4:5] ; encoding: [0x00,0x00,0xe6,0xd8,0x02,0x04,0x00,0x08] 3160x00 0x00 0xe6 0xd8 0x02 0x04 0x00 0x08 317 318# VI: ds_read_b64 v[8:9], v2 ; encoding: [0x00,0x00,0xec,0xd8,0x02,0x00,0x00,0x08] 3190x00 0x00 0xec 0xd8 0x02 0x00 0x00 0x08 320 321# VI: ds_read2_b64 v[8:11], v2 ; encoding: [0x00,0x00,0xee,0xd8,0x02,0x00,0x00,0x08] 3220x00 0x00 0xee 0xd8 0x02 0x00 0x00 0x08 323 324# VI: ds_read2st64_b64 v[8:11], v2 ; encoding: [0x00,0x00,0xf0,0xd8,0x02,0x00,0x00,0x08] 3250x00 0x00 0xf0 0xd8 0x02 0x00 0x00 0x08 326