1// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx908 %s 2>&1 | FileCheck --check-prefixes=GFX908,NOT-GFX90A --implicit-check-not=error: %s 2// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx1010 %s 2>&1 | FileCheck --check-prefixes=GFX1010,NOT-GFX90A --implicit-check-not=error: %s 3// RUN: llvm-mc -arch=amdgcn -mcpu=gfx90a -show-encoding %s | FileCheck --check-prefix=GFX90A %s 4 5// NOT-GFX90A: error: instruction not supported on this GPU 6// GFX90A: v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] ; encoding: [0x08,0x40,0xb0,0xd3,0x00,0x01,0x10,0x1c] 7v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] 8 9// NOT-GFX90A: error: instruction not supported on this GPU 10// GFX90A: v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] ; encoding: [0x08,0x40,0xb0,0xd3,0x00,0x01,0x10,0x1c] 11v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] 12 13// NOT-GFX90A: error: instruction not supported on this GPU 14// GFX90A: v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] ; encoding: [0x08,0x40,0xb0,0xd3,0x00,0x01,0x10,0x1c] 15v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] 16 17// NOT-GFX90A: error: instruction not supported on this GPU 18// GFX90A: v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] ; encoding: [0x08,0x40,0xb0,0xd3,0x00,0x01,0x10,0x1c] 19v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] 20 21// NOT-GFX90A: error: instruction not supported on this GPU 22// GFX90A: v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] op_sel_hi:[0,0,0] ; encoding: [0x08,0x00,0xb0,0xd3,0x00,0x01,0x10,0x04] 23v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] op_sel_hi:[0,0,0] 24 25// NOT-GFX90A: error: instruction not supported on this GPU 26// GFX90A: v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] op_sel:[0,0,1] op_sel_hi:[0,0,1] ; encoding: [0x08,0x60,0xb0,0xd3,0x00,0x01,0x10,0x04] 27v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] op_sel:[0,0,1] op_sel_hi:[0,0,1] 28 29// NOT-GFX90A: error: instruction not supported on this GPU 30// GFX90A: v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_lo:[1,1,1] ; encoding: [0x08,0x40,0xb0,0xd3,0x00,0x01,0x10,0xfc] 31v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_lo:[1,1,1] 32 33// NOT-GFX90A: error: instruction not supported on this GPU 34// GFX90A: v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_hi:[1,1,1] ; encoding: [0x08,0x47,0xb0,0xd3,0x00,0x01,0x10,0x1c] 35v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_hi:[1,1,1] 36 37// NOT-GFX90A: error: instruction not supported on this GPU 38// GFX90A: v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_lo:[1,1,1] neg_hi:[1,1,1] ; encoding: [0x08,0x47,0xb0,0xd3,0x00,0x01,0x10,0xfc] 39v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_lo:[1,1,1] neg_hi:[1,1,1] 40 41// NOT-GFX90A: error: instruction not supported on this GPU 42// GFX90A: v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_lo:[1,0,0] ; encoding: [0x08,0x40,0xb0,0xd3,0x00,0x01,0x10,0x3c] 43v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_lo:[1,0,0] 44 45// NOT-GFX90A: error: instruction not supported on this GPU 46// GFX90A: v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_lo:[0,1,0] ; encoding: [0x08,0x40,0xb0,0xd3,0x00,0x01,0x10,0x5c] 47v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_lo:[0,1,0] 48 49// NOT-GFX90A: error: instruction not supported on this GPU 50// GFX90A: v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_lo:[0,0,1] ; encoding: [0x08,0x40,0xb0,0xd3,0x00,0x01,0x10,0x9c] 51v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_lo:[0,0,1] 52 53// NOT-GFX90A: error: instruction not supported on this GPU 54// GFX90A: v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_hi:[1,0,0] ; encoding: [0x08,0x41,0xb0,0xd3,0x00,0x01,0x10,0x1c] 55v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_hi:[1,0,0] 56 57// NOT-GFX90A: error: instruction not supported on this GPU 58// GFX90A: v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_hi:[0,1,0] ; encoding: [0x08,0x42,0xb0,0xd3,0x00,0x01,0x10,0x1c] 59v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_hi:[0,1,0] 60 61// NOT-GFX90A: error: instruction not supported on this GPU 62// GFX90A: v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_hi:[0,0,1] ; encoding: [0x08,0x44,0xb0,0xd3,0x00,0x01,0x10,0x1c] 63v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] neg_hi:[0,0,1] 64 65// NOT-GFX90A: error: instruction not supported on this GPU 66// GFX90A: v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] clamp ; encoding: [0x08,0xc0,0xb0,0xd3,0x00,0x01,0x10,0x1c] 67v_pk_fma_f32 v[8:9], v[0:1], s[0:1], v[4:5] clamp 68 69// NOT-GFX90A: error: instruction not supported on this GPU 70// GFX90A: v_pk_fma_f32 v[0:1], v[4:5], v[8:9], v[16:17] ; encoding: [0x00,0x40,0xb0,0xd3,0x04,0x11,0x42,0x1c] 71v_pk_fma_f32 v[0:1], v[4:5], v[8:9], v[16:17] 72 73// NOT-GFX90A: error: instruction not supported on this GPU 74// GFX90A: v_pk_mul_f32 v[254:255], v[8:9], v[16:17] ; encoding: [0xfe,0x40,0xb1,0xd3,0x08,0x21,0x02,0x18] 75v_pk_mul_f32 v[254:255], v[8:9], v[16:17] 76 77// NOT-GFX90A: error: instruction not supported on this GPU 78// GFX90A: v_pk_mul_f32 v[4:5], v[254:255], v[16:17] ; encoding: [0x04,0x40,0xb1,0xd3,0xfe,0x21,0x02,0x18] 79v_pk_mul_f32 v[4:5], v[254:255], v[16:17] 80 81// NOT-GFX90A: error: instruction not supported on this GPU 82// GFX90A: v_pk_mul_f32 v[4:5], s[2:3], v[16:17] ; encoding: [0x04,0x40,0xb1,0xd3,0x02,0x20,0x02,0x18] 83v_pk_mul_f32 v[4:5], s[2:3], v[16:17] 84 85// NOT-GFX90A: error: instruction not supported on this GPU 86// GFX90A: v_pk_mul_f32 v[4:5], s[100:101], v[16:17] ; encoding: [0x04,0x40,0xb1,0xd3,0x64,0x20,0x02,0x18] 87v_pk_mul_f32 v[4:5], s[100:101], v[16:17] 88 89// GFX90A: v_pk_mul_f32 v[4:5], flat_scratch, v[16:17] ; encoding: [0x04,0x40,0xb1,0xd3,0x66,0x20,0x02,0x18] 90// NOT-GFX90A: error: instruction not supported on this GPU 91v_pk_mul_f32 v[4:5], flat_scratch, v[16:17] 92 93// NOT-GFX90A: error: instruction not supported on this GPU 94// GFX90A: v_pk_mul_f32 v[4:5], vcc, v[16:17] ; encoding: [0x04,0x40,0xb1,0xd3,0x6a,0x20,0x02,0x18] 95v_pk_mul_f32 v[4:5], vcc, v[16:17] 96 97// NOT-GFX90A: error: instruction not supported on this GPU 98// GFX90A: v_pk_mul_f32 v[4:5], exec, v[16:17] ; encoding: [0x04,0x40,0xb1,0xd3,0x7e,0x20,0x02,0x18] 99v_pk_mul_f32 v[4:5], exec, v[16:17] 100 101// NOT-GFX90A: error: instruction not supported on this GPU 102// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], v[254:255] ; encoding: [0x04,0x40,0xb1,0xd3,0x08,0xfd,0x03,0x18] 103v_pk_mul_f32 v[4:5], v[8:9], v[254:255] 104 105// NOT-GFX90A: error: instruction not supported on this GPU 106// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], s[2:3] ; encoding: [0x04,0x40,0xb1,0xd3,0x08,0x05,0x00,0x18] 107v_pk_mul_f32 v[4:5], v[8:9], s[2:3] 108 109// NOT-GFX90A: error: instruction not supported on this GPU 110// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], s[100:101] ; encoding: [0x04,0x40,0xb1,0xd3,0x08,0xc9,0x00,0x18] 111v_pk_mul_f32 v[4:5], v[8:9], s[100:101] 112 113// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], flat_scratch ; encoding: [0x04,0x40,0xb1,0xd3,0x08,0xcd,0x00,0x18] 114// NOT-GFX90A: error: instruction not supported on this GPU 115v_pk_mul_f32 v[4:5], v[8:9], flat_scratch 116 117// NOT-GFX90A: error: instruction not supported on this GPU 118// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], vcc ; encoding: [0x04,0x40,0xb1,0xd3,0x08,0xd5,0x00,0x18] 119v_pk_mul_f32 v[4:5], v[8:9], vcc 120 121// NOT-GFX90A: error: instruction not supported on this GPU 122// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], exec ; encoding: [0x04,0x40,0xb1,0xd3,0x08,0xfd,0x00,0x18] 123v_pk_mul_f32 v[4:5], v[8:9], exec 124 125// NOT-GFX90A: error: instruction not supported on this GPU 126// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], v[16:17] ; encoding: [0x04,0x40,0xb1,0xd3,0x08,0x21,0x02,0x18] 127v_pk_mul_f32 v[4:5], v[8:9], v[16:17] 128 129// NOT-GFX90A: error: instruction not supported on this GPU 130// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], v[16:17] op_sel:[1,0] ; encoding: [0x04,0x48,0xb1,0xd3,0x08,0x21,0x02,0x18] 131v_pk_mul_f32 v[4:5], v[8:9], v[16:17] op_sel:[1,0] 132 133// NOT-GFX90A: error: instruction not supported on this GPU 134// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], v[16:17] op_sel:[0,1] ; encoding: [0x04,0x50,0xb1,0xd3,0x08,0x21,0x02,0x18] 135v_pk_mul_f32 v[4:5], v[8:9], v[16:17] op_sel:[0,1] 136 137// NOT-GFX90A: error: instruction not supported on this GPU 138// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], v[16:17] op_sel:[1,1] ; encoding: [0x04,0x58,0xb1,0xd3,0x08,0x21,0x02,0x18] 139v_pk_mul_f32 v[4:5], v[8:9], v[16:17] op_sel:[1,1] 140 141// NOT-GFX90A: error: instruction not supported on this GPU 142// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], v[16:17] ; encoding: [0x04,0x40,0xb1,0xd3,0x08,0x21,0x02,0x18] 143v_pk_mul_f32 v[4:5], v[8:9], v[16:17] 144 145// NOT-GFX90A: error: instruction not supported on this GPU 146// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], v[16:17] op_sel_hi:[0,0] ; encoding: [0x04,0x40,0xb1,0xd3,0x08,0x21,0x02,0x00] 147v_pk_mul_f32 v[4:5], v[8:9], v[16:17] op_sel_hi:[0,0] 148 149// NOT-GFX90A: error: instruction not supported on this GPU 150// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], v[16:17] op_sel_hi:[1,0] ; encoding: [0x04,0x40,0xb1,0xd3,0x08,0x21,0x02,0x08] 151v_pk_mul_f32 v[4:5], v[8:9], v[16:17] op_sel_hi:[1,0] 152 153// NOT-GFX90A: error: instruction not supported on this GPU 154// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], v[16:17] op_sel_hi:[0,1] ; encoding: [0x04,0x40,0xb1,0xd3,0x08,0x21,0x02,0x10] 155v_pk_mul_f32 v[4:5], v[8:9], v[16:17] op_sel_hi:[0,1] 156 157// NOT-GFX90A: error: instruction not supported on this GPU 158// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], v[16:17] neg_lo:[1,0] ; encoding: [0x04,0x40,0xb1,0xd3,0x08,0x21,0x02,0x38] 159v_pk_mul_f32 v[4:5], v[8:9], v[16:17] neg_lo:[1,0] 160 161// NOT-GFX90A: error: instruction not supported on this GPU 162// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], v[16:17] neg_lo:[0,1] ; encoding: [0x04,0x40,0xb1,0xd3,0x08,0x21,0x02,0x58] 163v_pk_mul_f32 v[4:5], v[8:9], v[16:17] neg_lo:[0,1] 164 165// NOT-GFX90A: error: instruction not supported on this GPU 166// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], v[16:17] neg_lo:[1,1] ; encoding: [0x04,0x40,0xb1,0xd3,0x08,0x21,0x02,0x78] 167v_pk_mul_f32 v[4:5], v[8:9], v[16:17] neg_lo:[1,1] 168 169// NOT-GFX90A: error: instruction not supported on this GPU 170// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], v[16:17] neg_hi:[1,0] ; encoding: [0x04,0x41,0xb1,0xd3,0x08,0x21,0x02,0x18] 171v_pk_mul_f32 v[4:5], v[8:9], v[16:17] neg_hi:[1,0] 172 173// NOT-GFX90A: error: instruction not supported on this GPU 174// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], v[16:17] neg_hi:[0,1] ; encoding: [0x04,0x42,0xb1,0xd3,0x08,0x21,0x02,0x18] 175v_pk_mul_f32 v[4:5], v[8:9], v[16:17] neg_hi:[0,1] 176 177// NOT-GFX90A: error: instruction not supported on this GPU 178// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], v[16:17] neg_hi:[1,1] ; encoding: [0x04,0x43,0xb1,0xd3,0x08,0x21,0x02,0x18] 179v_pk_mul_f32 v[4:5], v[8:9], v[16:17] neg_hi:[1,1] 180 181// NOT-GFX90A: error: instruction not supported on this GPU 182// GFX90A: v_pk_mul_f32 v[4:5], v[8:9], v[16:17] clamp ; encoding: [0x04,0xc0,0xb1,0xd3,0x08,0x21,0x02,0x18] 183v_pk_mul_f32 v[4:5], v[8:9], v[16:17] clamp 184 185// NOT-GFX90A: error: instruction not supported on this GPU 186// GFX90A: v_pk_add_f32 v[254:255], v[8:9], v[16:17] ; encoding: [0xfe,0x40,0xb2,0xd3,0x08,0x21,0x02,0x18] 187v_pk_add_f32 v[254:255], v[8:9], v[16:17] 188 189// NOT-GFX90A: error: instruction not supported on this GPU 190// GFX90A: v_pk_add_f32 v[4:5], v[254:255], v[16:17] ; encoding: [0x04,0x40,0xb2,0xd3,0xfe,0x21,0x02,0x18] 191v_pk_add_f32 v[4:5], v[254:255], v[16:17] 192 193// NOT-GFX90A: error: instruction not supported on this GPU 194// GFX90A: v_pk_add_f32 v[4:5], s[2:3], v[16:17] ; encoding: [0x04,0x40,0xb2,0xd3,0x02,0x20,0x02,0x18] 195v_pk_add_f32 v[4:5], s[2:3], v[16:17] 196 197// NOT-GFX90A: error: instruction not supported on this GPU 198// GFX90A: v_pk_add_f32 v[4:5], s[100:101], v[16:17] ; encoding: [0x04,0x40,0xb2,0xd3,0x64,0x20,0x02,0x18] 199v_pk_add_f32 v[4:5], s[100:101], v[16:17] 200 201// GFX90A: v_pk_add_f32 v[4:5], flat_scratch, v[16:17] ; encoding: [0x04,0x40,0xb2,0xd3,0x66,0x20,0x02,0x18] 202// NOT-GFX90A: error: instruction not supported on this GPU 203v_pk_add_f32 v[4:5], flat_scratch, v[16:17] 204 205// NOT-GFX90A: error: instruction not supported on this GPU 206// GFX90A: v_pk_add_f32 v[4:5], vcc, v[16:17] ; encoding: [0x04,0x40,0xb2,0xd3,0x6a,0x20,0x02,0x18] 207v_pk_add_f32 v[4:5], vcc, v[16:17] 208 209// NOT-GFX90A: error: instruction not supported on this GPU 210// GFX90A: v_pk_add_f32 v[4:5], exec, v[16:17] ; encoding: [0x04,0x40,0xb2,0xd3,0x7e,0x20,0x02,0x18] 211v_pk_add_f32 v[4:5], exec, v[16:17] 212 213// NOT-GFX90A: error: instruction not supported on this GPU 214// GFX90A: v_pk_add_f32 v[4:5], v[8:9], v[254:255] ; encoding: [0x04,0x40,0xb2,0xd3,0x08,0xfd,0x03,0x18] 215v_pk_add_f32 v[4:5], v[8:9], v[254:255] 216 217// NOT-GFX90A: error: instruction not supported on this GPU 218// GFX90A: v_pk_add_f32 v[4:5], v[8:9], s[2:3] ; encoding: [0x04,0x40,0xb2,0xd3,0x08,0x05,0x00,0x18] 219v_pk_add_f32 v[4:5], v[8:9], s[2:3] 220 221// NOT-GFX90A: error: instruction not supported on this GPU 222// GFX90A: v_pk_add_f32 v[4:5], v[8:9], s[100:101] ; encoding: [0x04,0x40,0xb2,0xd3,0x08,0xc9,0x00,0x18] 223v_pk_add_f32 v[4:5], v[8:9], s[100:101] 224 225// GFX90A: v_pk_add_f32 v[4:5], v[8:9], flat_scratch ; encoding: [0x04,0x40,0xb2,0xd3,0x08,0xcd,0x00,0x18] 226// NOT-GFX90A: error: instruction not supported on this GPU 227v_pk_add_f32 v[4:5], v[8:9], flat_scratch 228 229// NOT-GFX90A: error: instruction not supported on this GPU 230// GFX90A: v_pk_add_f32 v[4:5], v[8:9], vcc ; encoding: [0x04,0x40,0xb2,0xd3,0x08,0xd5,0x00,0x18] 231v_pk_add_f32 v[4:5], v[8:9], vcc 232 233// NOT-GFX90A: error: instruction not supported on this GPU 234// GFX90A: v_pk_add_f32 v[4:5], v[8:9], exec ; encoding: [0x04,0x40,0xb2,0xd3,0x08,0xfd,0x00,0x18] 235v_pk_add_f32 v[4:5], v[8:9], exec 236 237// NOT-GFX90A: error: instruction not supported on this GPU 238// GFX90A: v_pk_add_f32 v[4:5], v[8:9], v[16:17] ; encoding: [0x04,0x40,0xb2,0xd3,0x08,0x21,0x02,0x18] 239v_pk_add_f32 v[4:5], v[8:9], v[16:17] 240 241// NOT-GFX90A: error: instruction not supported on this GPU 242// GFX90A: v_pk_add_f32 v[4:5], v[8:9], v[16:17] op_sel:[1,0] ; encoding: [0x04,0x48,0xb2,0xd3,0x08,0x21,0x02,0x18] 243v_pk_add_f32 v[4:5], v[8:9], v[16:17] op_sel:[1,0] 244 245// NOT-GFX90A: error: instruction not supported on this GPU 246// GFX90A: v_pk_add_f32 v[4:5], v[8:9], v[16:17] op_sel:[0,1] ; encoding: [0x04,0x50,0xb2,0xd3,0x08,0x21,0x02,0x18] 247v_pk_add_f32 v[4:5], v[8:9], v[16:17] op_sel:[0,1] 248 249// NOT-GFX90A: error: instruction not supported on this GPU 250// GFX90A: v_pk_add_f32 v[4:5], v[8:9], v[16:17] op_sel:[1,1] ; encoding: [0x04,0x58,0xb2,0xd3,0x08,0x21,0x02,0x18] 251v_pk_add_f32 v[4:5], v[8:9], v[16:17] op_sel:[1,1] 252 253// NOT-GFX90A: error: instruction not supported on this GPU 254// GFX90A: v_pk_add_f32 v[4:5], v[8:9], v[16:17] ; encoding: [0x04,0x40,0xb2,0xd3,0x08,0x21,0x02,0x18] 255v_pk_add_f32 v[4:5], v[8:9], v[16:17] 256 257// NOT-GFX90A: error: instruction not supported on this GPU 258// GFX90A: v_pk_add_f32 v[4:5], v[8:9], v[16:17] op_sel_hi:[0,0] ; encoding: [0x04,0x40,0xb2,0xd3,0x08,0x21,0x02,0x00] 259v_pk_add_f32 v[4:5], v[8:9], v[16:17] op_sel_hi:[0,0] 260 261// NOT-GFX90A: error: instruction not supported on this GPU 262// GFX90A: v_pk_add_f32 v[4:5], v[8:9], v[16:17] op_sel_hi:[1,0] ; encoding: [0x04,0x40,0xb2,0xd3,0x08,0x21,0x02,0x08] 263v_pk_add_f32 v[4:5], v[8:9], v[16:17] op_sel_hi:[1,0] 264 265// NOT-GFX90A: error: instruction not supported on this GPU 266// GFX90A: v_pk_add_f32 v[4:5], v[8:9], v[16:17] op_sel_hi:[0,1] ; encoding: [0x04,0x40,0xb2,0xd3,0x08,0x21,0x02,0x10] 267v_pk_add_f32 v[4:5], v[8:9], v[16:17] op_sel_hi:[0,1] 268 269// NOT-GFX90A: error: instruction not supported on this GPU 270// GFX90A: v_pk_add_f32 v[4:5], v[8:9], v[16:17] neg_lo:[1,0] ; encoding: [0x04,0x40,0xb2,0xd3,0x08,0x21,0x02,0x38] 271v_pk_add_f32 v[4:5], v[8:9], v[16:17] neg_lo:[1,0] 272 273// NOT-GFX90A: error: instruction not supported on this GPU 274// GFX90A: v_pk_add_f32 v[4:5], v[8:9], v[16:17] neg_lo:[0,1] ; encoding: [0x04,0x40,0xb2,0xd3,0x08,0x21,0x02,0x58] 275v_pk_add_f32 v[4:5], v[8:9], v[16:17] neg_lo:[0,1] 276 277// NOT-GFX90A: error: instruction not supported on this GPU 278// GFX90A: v_pk_add_f32 v[4:5], v[8:9], v[16:17] neg_lo:[1,1] ; encoding: [0x04,0x40,0xb2,0xd3,0x08,0x21,0x02,0x78] 279v_pk_add_f32 v[4:5], v[8:9], v[16:17] neg_lo:[1,1] 280 281// NOT-GFX90A: error: instruction not supported on this GPU 282// GFX90A: v_pk_add_f32 v[4:5], v[8:9], v[16:17] neg_hi:[1,0] ; encoding: [0x04,0x41,0xb2,0xd3,0x08,0x21,0x02,0x18] 283v_pk_add_f32 v[4:5], v[8:9], v[16:17] neg_hi:[1,0] 284 285// NOT-GFX90A: error: instruction not supported on this GPU 286// GFX90A: v_pk_add_f32 v[4:5], v[8:9], v[16:17] neg_hi:[0,1] ; encoding: [0x04,0x42,0xb2,0xd3,0x08,0x21,0x02,0x18] 287v_pk_add_f32 v[4:5], v[8:9], v[16:17] neg_hi:[0,1] 288 289// NOT-GFX90A: error: instruction not supported on this GPU 290// GFX90A: v_pk_add_f32 v[4:5], v[8:9], v[16:17] neg_hi:[1,1] ; encoding: [0x04,0x43,0xb2,0xd3,0x08,0x21,0x02,0x18] 291v_pk_add_f32 v[4:5], v[8:9], v[16:17] neg_hi:[1,1] 292 293// NOT-GFX90A: error: instruction not supported on this GPU 294// GFX90A: v_pk_add_f32 v[4:5], v[8:9], v[16:17] clamp ; encoding: [0x04,0xc0,0xb2,0xd3,0x08,0x21,0x02,0x18] 295v_pk_add_f32 v[4:5], v[8:9], v[16:17] clamp 296 297// NOT-GFX90A: error: instruction not supported on this GPU 298// GFX90A: v_pk_mov_b32 v[0:1], v[2:3], v[4:5] ; encoding: [0x00,0x40,0xb3,0xd3,0x02,0x09,0x02,0x18] 299v_pk_mov_b32 v[0:1], v[2:3], v[4:5] 300 301// GFX90A: v_pk_mov_b32 v[0:1], flat_scratch, v[4:5] ; encoding: [0x00,0x40,0xb3,0xd3,0x66,0x08,0x02,0x18] 302// NOT-GFX90A: error: instruction not supported on this GPU 303v_pk_mov_b32 v[0:1], flat_scratch, v[4:5] 304 305// NOT-GFX90A: error: instruction not supported on this GPU 306// GFX90A: v_pk_mov_b32 v[0:1], v[2:3], vcc ; encoding: [0x00,0x40,0xb3,0xd3,0x02,0xd5,0x00,0x18] 307v_pk_mov_b32 v[0:1], v[2:3], vcc 308 309// NOT-GFX90A: error: instruction not supported on this GPU 310// GFX90A: v_pk_mov_b32 v[0:1], v[2:3], s[0:1] ; encoding: [0x00,0x40,0xb3,0xd3,0x02,0x01,0x00,0x18] 311v_pk_mov_b32 v[0:1], v[2:3], s[0:1] 312 313// NOT-GFX90A: error: instruction not supported on this GPU 314// GFX90A: v_pk_mov_b32 v[0:1], v[2:3], v[2:3] op_sel_hi:[0,1] ; encoding: [0x00,0x40,0xb3,0xd3,0x02,0x05,0x02,0x10] 315v_pk_mov_b32 v[0:1], v[2:3], v[2:3] op_sel_hi:[0,1] 316 317// NOT-GFX90A: error: instruction not supported on this GPU 318// GFX90A: v_pk_mov_b32 v[0:1], v[2:3], v[4:5] op_sel:[1,0] ; encoding: [0x00,0x48,0xb3,0xd3,0x02,0x09,0x02,0x18] 319v_pk_mov_b32 v[0:1], v[2:3], v[4:5] op_sel:[1,0] 320 321// NOT-GFX90A: error: instruction not supported on this GPU 322// GFX90A: v_pk_mov_b32 v[0:1], v[2:3], v[4:5] op_sel:[1,1] ; encoding: [0x00,0x58,0xb3,0xd3,0x02,0x09,0x02,0x18] 323v_pk_mov_b32 v[0:1], v[2:3], v[4:5] op_sel:[1,1] 324 325// NOT-GFX90A: error: instruction not supported on this GPU 326// GFX90A: buffer_wbl2 ; encoding: [0x00,0x00,0xa0,0xe0,0x00,0x00,0x00,0x00] 327buffer_wbl2 328 329// NOT-GFX90A: error: instruction not supported on this GPU 330// GFX90A: buffer_invl2 ; encoding: [0x00,0x00,0xa4,0xe0,0x00,0x00,0x00,0x00] 331buffer_invl2 332 333// NOT-GFX90A: error: instruction not supported on this GPU 334// GFX90A: buffer_atomic_add_f64 v[4:5], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x3c,0xe1,0x00,0x04,0x02,0x03] 335buffer_atomic_add_f64 v[4:5], off, s[8:11], s3 offset:4095 336 337// NOT-GFX90A: error: instruction not supported on this GPU 338// GFX90A: buffer_atomic_add_f64 v[4:5], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x3c,0xe1,0x00,0x04,0x03,0x03] 339buffer_atomic_add_f64 v[4:5], off, s[12:15], s3 offset:4095 340 341// NOT-GFX90A: error: instruction not supported on this GPU 342// GFX90A: buffer_atomic_add_f64 v[4:5], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x3c,0xe1,0x00,0x04,0x18,0x03] 343buffer_atomic_add_f64 v[4:5], off, s[96:99], s3 offset:4095 344 345// NOT-GFX90A: error: instruction not supported on this GPU 346// GFX90A: buffer_atomic_add_f64 v[4:5], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x3c,0xe1,0x00,0x04,0x02,0x65] 347buffer_atomic_add_f64 v[4:5], off, s[8:11], s101 offset:4095 348 349// NOT-GFX90A: error: instruction not supported on this GPU 350// GFX90A: buffer_atomic_add_f64 v[4:5], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x3c,0xe1,0x00,0x04,0x02,0x7c] 351buffer_atomic_add_f64 v[4:5], off, s[8:11], m0 offset:4095 352 353// NOT-GFX90A: error: instruction not supported on this GPU 354// GFX90A: buffer_atomic_add_f64 v[4:5], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x3c,0xe1,0x00,0x04,0x02,0x80] 355buffer_atomic_add_f64 v[4:5], off, s[8:11], 0 offset:4095 356 357// NOT-GFX90A: error: instruction not supported on this GPU 358// GFX90A: buffer_atomic_add_f64 v[4:5], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x3c,0xe1,0x00,0x04,0x02,0xc1] 359buffer_atomic_add_f64 v[4:5], off, s[8:11], -1 offset:4095 360 361// NOT-GFX90A: error: instruction not supported on this GPU 362// GFX90A: buffer_atomic_add_f64 v[4:5], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x3c,0xe1,0x00,0x04,0x02,0x03] 363buffer_atomic_add_f64 v[4:5], v0, s[8:11], s3 idxen offset:4095 364 365// NOT-GFX90A: error: instruction not supported on this GPU 366// GFX90A: buffer_atomic_add_f64 v[4:5], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x3c,0xe1,0x00,0x04,0x02,0x03] 367buffer_atomic_add_f64 v[4:5], v0, s[8:11], s3 offen offset:4095 368 369// NOT-GFX90A: error: instruction not supported on this GPU 370// GFX90A: buffer_atomic_add_f64 v[4:5], off, s[8:11], s3 ; encoding: [0x00,0x00,0x3c,0xe1,0x00,0x04,0x02,0x03] 371buffer_atomic_add_f64 v[4:5], off, s[8:11], s3 372 373// NOT-GFX90A: error: instruction not supported on this GPU 374// GFX90A: buffer_atomic_add_f64 v[4:5], off, s[8:11], s3 ; encoding: [0x00,0x00,0x3c,0xe1,0x00,0x04,0x02,0x03] 375buffer_atomic_add_f64 v[4:5], off, s[8:11], s3 376 377// NOT-GFX90A: error: instruction not supported on this GPU 378// GFX90A: buffer_atomic_add_f64 v[4:5], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x3c,0xe1,0x00,0x04,0x02,0x03] 379buffer_atomic_add_f64 v[4:5], off, s[8:11], s3 offset:7 380 381// NOT-GFX90A: error: instruction not supported on this GPU 382// GFX90A: buffer_atomic_add_f64 v[4:5], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x3e,0xe1,0x00,0x04,0x02,0x03] 383buffer_atomic_add_f64 v[4:5], off, s[8:11], s3 offset:4095 slc 384 385// NOT-GFX90A: error: instruction not supported on this GPU 386// GFX90A: buffer_atomic_min_f64 v[4:5], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x40,0xe1,0x00,0x04,0x02,0x03] 387buffer_atomic_min_f64 v[4:5], off, s[8:11], s3 offset:4095 388 389// NOT-GFX90A: error: instruction not supported on this GPU 390// GFX90A: buffer_atomic_min_f64 v[4:5], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x40,0xe1,0x00,0x04,0x03,0x03] 391buffer_atomic_min_f64 v[4:5], off, s[12:15], s3 offset:4095 392 393// NOT-GFX90A: error: instruction not supported on this GPU 394// GFX90A: buffer_atomic_min_f64 v[4:5], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x40,0xe1,0x00,0x04,0x18,0x03] 395buffer_atomic_min_f64 v[4:5], off, s[96:99], s3 offset:4095 396 397// NOT-GFX90A: error: instruction not supported on this GPU 398// GFX90A: buffer_atomic_min_f64 v[4:5], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x40,0xe1,0x00,0x04,0x02,0x65] 399buffer_atomic_min_f64 v[4:5], off, s[8:11], s101 offset:4095 400 401// NOT-GFX90A: error: instruction not supported on this GPU 402// GFX90A: buffer_atomic_min_f64 v[4:5], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x40,0xe1,0x00,0x04,0x02,0x7c] 403buffer_atomic_min_f64 v[4:5], off, s[8:11], m0 offset:4095 404 405// NOT-GFX90A: error: instruction not supported on this GPU 406// GFX90A: buffer_atomic_min_f64 v[4:5], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x40,0xe1,0x00,0x04,0x02,0x80] 407buffer_atomic_min_f64 v[4:5], off, s[8:11], 0 offset:4095 408 409// NOT-GFX90A: error: instruction not supported on this GPU 410// GFX90A: buffer_atomic_min_f64 v[4:5], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x40,0xe1,0x00,0x04,0x02,0xc1] 411buffer_atomic_min_f64 v[4:5], off, s[8:11], -1 offset:4095 412 413// NOT-GFX90A: error: instruction not supported on this GPU 414// GFX90A: buffer_atomic_min_f64 v[4:5], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x40,0xe1,0x00,0x04,0x02,0x03] 415buffer_atomic_min_f64 v[4:5], v0, s[8:11], s3 idxen offset:4095 416 417// NOT-GFX90A: error: instruction not supported on this GPU 418// GFX90A: buffer_atomic_min_f64 v[4:5], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x40,0xe1,0x00,0x04,0x02,0x03] 419buffer_atomic_min_f64 v[4:5], v0, s[8:11], s3 offen offset:4095 420 421// NOT-GFX90A: error: instruction not supported on this GPU 422// GFX90A: buffer_atomic_min_f64 v[4:5], off, s[8:11], s3 ; encoding: [0x00,0x00,0x40,0xe1,0x00,0x04,0x02,0x03] 423buffer_atomic_min_f64 v[4:5], off, s[8:11], s3 424 425// NOT-GFX90A: error: instruction not supported on this GPU 426// GFX90A: buffer_atomic_min_f64 v[4:5], off, s[8:11], s3 ; encoding: [0x00,0x00,0x40,0xe1,0x00,0x04,0x02,0x03] 427buffer_atomic_min_f64 v[4:5], off, s[8:11], s3 428 429// NOT-GFX90A: error: instruction not supported on this GPU 430// GFX90A: buffer_atomic_min_f64 v[4:5], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x40,0xe1,0x00,0x04,0x02,0x03] 431buffer_atomic_min_f64 v[4:5], off, s[8:11], s3 offset:7 432 433// NOT-GFX90A: error: instruction not supported on this GPU 434// GFX90A: buffer_atomic_min_f64 v[4:5], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x42,0xe1,0x00,0x04,0x02,0x03] 435buffer_atomic_min_f64 v[4:5], off, s[8:11], s3 offset:4095 slc 436 437// NOT-GFX90A: error: instruction not supported on this GPU 438// GFX90A: buffer_atomic_max_f64 v[4:5], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x44,0xe1,0x00,0x04,0x02,0x03] 439buffer_atomic_max_f64 v[4:5], off, s[8:11], s3 offset:4095 440 441// NOT-GFX90A: error: instruction not supported on this GPU 442// GFX90A: buffer_atomic_max_f64 v[4:5], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x44,0xe1,0x00,0x04,0x03,0x03] 443buffer_atomic_max_f64 v[4:5], off, s[12:15], s3 offset:4095 444 445// NOT-GFX90A: error: instruction not supported on this GPU 446// GFX90A: buffer_atomic_max_f64 v[4:5], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x44,0xe1,0x00,0x04,0x18,0x03] 447buffer_atomic_max_f64 v[4:5], off, s[96:99], s3 offset:4095 448 449// NOT-GFX90A: error: instruction not supported on this GPU 450// GFX90A: buffer_atomic_max_f64 v[4:5], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x44,0xe1,0x00,0x04,0x02,0x65] 451buffer_atomic_max_f64 v[4:5], off, s[8:11], s101 offset:4095 452 453// NOT-GFX90A: error: instruction not supported on this GPU 454// GFX90A: buffer_atomic_max_f64 v[4:5], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x44,0xe1,0x00,0x04,0x02,0x7c] 455buffer_atomic_max_f64 v[4:5], off, s[8:11], m0 offset:4095 456 457// NOT-GFX90A: error: instruction not supported on this GPU 458// GFX90A: buffer_atomic_max_f64 v[4:5], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x44,0xe1,0x00,0x04,0x02,0x80] 459buffer_atomic_max_f64 v[4:5], off, s[8:11], 0 offset:4095 460 461// NOT-GFX90A: error: instruction not supported on this GPU 462// GFX90A: buffer_atomic_max_f64 v[4:5], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x44,0xe1,0x00,0x04,0x02,0xc1] 463buffer_atomic_max_f64 v[4:5], off, s[8:11], -1 offset:4095 464 465// NOT-GFX90A: error: instruction not supported on this GPU 466// GFX90A: buffer_atomic_max_f64 v[4:5], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x44,0xe1,0x00,0x04,0x02,0x03] 467buffer_atomic_max_f64 v[4:5], v0, s[8:11], s3 idxen offset:4095 468 469// NOT-GFX90A: error: instruction not supported on this GPU 470// GFX90A: buffer_atomic_max_f64 v[4:5], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x44,0xe1,0x00,0x04,0x02,0x03] 471buffer_atomic_max_f64 v[4:5], v0, s[8:11], s3 offen offset:4095 472 473// NOT-GFX90A: error: instruction not supported on this GPU 474// GFX90A: buffer_atomic_max_f64 v[4:5], off, s[8:11], s3 ; encoding: [0x00,0x00,0x44,0xe1,0x00,0x04,0x02,0x03] 475buffer_atomic_max_f64 v[4:5], off, s[8:11], s3 476 477// NOT-GFX90A: error: instruction not supported on this GPU 478// GFX90A: buffer_atomic_max_f64 v[4:5], off, s[8:11], s3 ; encoding: [0x00,0x00,0x44,0xe1,0x00,0x04,0x02,0x03] 479buffer_atomic_max_f64 v[4:5], off, s[8:11], s3 480 481// NOT-GFX90A: error: instruction not supported on this GPU 482// GFX90A: buffer_atomic_max_f64 v[4:5], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x44,0xe1,0x00,0x04,0x02,0x03] 483buffer_atomic_max_f64 v[4:5], off, s[8:11], s3 offset:7 484 485// NOT-GFX90A: error: instruction not supported on this GPU 486// GFX90A: buffer_atomic_max_f64 v[4:5], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x46,0xe1,0x00,0x04,0x02,0x03] 487buffer_atomic_max_f64 v[4:5], off, s[8:11], s3 offset:4095 slc 488 489// NOT-GFX90A: error: instruction not supported on this GPU 490// GFX90A: ds_add_f64 v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xb8,0xd8,0x01,0x02,0x00,0x00] 491ds_add_f64 v1, v[2:3] offset:65535 492 493// NOT-GFX90A: error: instruction not supported on this GPU 494// GFX90A: ds_add_f64 v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xb8,0xd8,0xff,0x02,0x00,0x00] 495ds_add_f64 v255, v[2:3] offset:65535 496 497// NOT-GFX90A: error: instruction not supported on this GPU 498// GFX90A: ds_add_f64 v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0xb8,0xd8,0x01,0xfe,0x00,0x00] 499ds_add_f64 v1, v[254:255] offset:65535 500 501// NOT-GFX90A: error: instruction not supported on this GPU 502// GFX90A: ds_add_f64 v1, v[2:3] ; encoding: [0x00,0x00,0xb8,0xd8,0x01,0x02,0x00,0x00] 503ds_add_f64 v1, v[2:3] 504 505// NOT-GFX90A: error: instruction not supported on this GPU 506// GFX90A: ds_add_f64 v1, v[2:3] ; encoding: [0x00,0x00,0xb8,0xd8,0x01,0x02,0x00,0x00] 507ds_add_f64 v1, v[2:3] 508 509// NOT-GFX90A: error: instruction not supported on this GPU 510// GFX90A: ds_add_f64 v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0xb8,0xd8,0x01,0x02,0x00,0x00] 511ds_add_f64 v1, v[2:3] offset:4 512 513// NOT-GFX90A: error: instruction not supported on this GPU 514// GFX90A: ds_add_f64 v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0xb9,0xd8,0x01,0x02,0x00,0x00] 515ds_add_f64 v1, v[2:3] offset:65535 gds 516 517// NOT-GFX90A: error: instruction not supported on this GPU 518// GFX90A: ds_add_rtn_f64 v[4:5], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xf8,0xd8,0x01,0x02,0x00,0x04] 519ds_add_rtn_f64 v[4:5], v1, v[2:3] offset:65535 520 521// NOT-GFX90A: error: instruction not supported on this GPU 522// GFX90A: ds_add_rtn_f64 v[254:255], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xf8,0xd8,0x01,0x02,0x00,0xfe] 523ds_add_rtn_f64 v[254:255], v1, v[2:3] offset:65535 524 525// NOT-GFX90A: error: instruction not supported on this GPU 526// GFX90A: ds_add_rtn_f64 v[4:5], v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xf8,0xd8,0xff,0x02,0x00,0x04] 527ds_add_rtn_f64 v[4:5], v255, v[2:3] offset:65535 528 529// NOT-GFX90A: error: instruction not supported on this GPU 530// GFX90A: ds_add_rtn_f64 v[4:5], v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0xf8,0xd8,0x01,0xfe,0x00,0x04] 531ds_add_rtn_f64 v[4:5], v1, v[254:255] offset:65535 532 533// NOT-GFX90A: error: instruction not supported on this GPU 534// GFX90A: ds_add_rtn_f64 v[4:5], v1, v[2:3] ; encoding: [0x00,0x00,0xf8,0xd8,0x01,0x02,0x00,0x04] 535ds_add_rtn_f64 v[4:5], v1, v[2:3] 536 537// NOT-GFX90A: error: instruction not supported on this GPU 538// GFX90A: ds_add_rtn_f64 v[4:5], v1, v[2:3] ; encoding: [0x00,0x00,0xf8,0xd8,0x01,0x02,0x00,0x04] 539ds_add_rtn_f64 v[4:5], v1, v[2:3] 540 541// NOT-GFX90A: error: instruction not supported on this GPU 542// GFX90A: ds_add_rtn_f64 v[4:5], v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0xf8,0xd8,0x01,0x02,0x00,0x04] 543ds_add_rtn_f64 v[4:5], v1, v[2:3] offset:4 544 545// NOT-GFX90A: error: instruction not supported on this GPU 546// GFX90A: ds_add_rtn_f64 v[4:5], v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0xf9,0xd8,0x01,0x02,0x00,0x04] 547ds_add_rtn_f64 v[4:5], v1, v[2:3] offset:65535 gds 548 549// NOT-GFX90A: error: instruction not supported on this GPU 550// GFX90A: flat_atomic_add_f64 v[0:1], v[2:3] offset:4095 ; encoding: [0xff,0x0f,0x3c,0xdd,0x00,0x02,0x00,0x00] 551flat_atomic_add_f64 v[0:1], v[2:3] offset:4095 552 553// NOT-GFX90A: error: instruction not supported on this GPU 554// GFX90A: flat_atomic_add_f64 v[254:255], v[2:3] offset:4095 ; encoding: [0xff,0x0f,0x3c,0xdd,0xfe,0x02,0x00,0x00] 555flat_atomic_add_f64 v[254:255], v[2:3] offset:4095 556 557// NOT-GFX90A: error: instruction not supported on this GPU 558// GFX90A: flat_atomic_add_f64 v[0:1], v[254:255] offset:4095 ; encoding: [0xff,0x0f,0x3c,0xdd,0x00,0xfe,0x00,0x00] 559flat_atomic_add_f64 v[0:1], v[254:255] offset:4095 560 561// NOT-GFX90A: error: instruction not supported on this GPU 562// GFX90A: flat_atomic_add_f64 v[0:1], v[2:3] ; encoding: [0x00,0x00,0x3c,0xdd,0x00,0x02,0x00,0x00] 563flat_atomic_add_f64 v[0:1], v[2:3] 564 565// NOT-GFX90A: error: instruction not supported on this GPU 566// GFX90A: flat_atomic_add_f64 v[0:1], v[2:3] ; encoding: [0x00,0x00,0x3c,0xdd,0x00,0x02,0x00,0x00] 567flat_atomic_add_f64 v[0:1], v[2:3] 568 569// NOT-GFX90A: error: instruction not supported on this GPU 570// GFX90A: flat_atomic_add_f64 v[0:1], v[2:3] offset:7 ; encoding: [0x07,0x00,0x3c,0xdd,0x00,0x02,0x00,0x00] 571flat_atomic_add_f64 v[0:1], v[2:3] offset:7 572 573// NOT-GFX90A: error: instruction not supported on this GPU 574// GFX90A: flat_atomic_add_f64 v[0:1], v[0:1], v[2:3] offset:4095 glc ; encoding: [0xff,0x0f,0x3d,0xdd,0x00,0x02,0x00,0x00] 575flat_atomic_add_f64 v[0:1], v[0:1], v[2:3] offset:4095 glc 576 577// NOT-GFX90A: error: instruction not supported on this GPU 578// GFX90A: flat_atomic_add_f64 v[0:1], v[2:3] offset:4095 slc ; encoding: [0xff,0x0f,0x3e,0xdd,0x00,0x02,0x00,0x00] 579flat_atomic_add_f64 v[0:1], v[2:3] offset:4095 slc 580 581// NOT-GFX90A: error: instruction not supported on this GPU 582// GFX90A: flat_atomic_min_f64 v[0:1], v[2:3] offset:4095 ; encoding: [0xff,0x0f,0x40,0xdd,0x00,0x02,0x00,0x00] 583flat_atomic_min_f64 v[0:1], v[2:3] offset:4095 584 585// NOT-GFX90A: error: instruction not supported on this GPU 586// GFX90A: flat_atomic_min_f64 v[254:255], v[2:3] offset:4095 ; encoding: [0xff,0x0f,0x40,0xdd,0xfe,0x02,0x00,0x00] 587flat_atomic_min_f64 v[254:255], v[2:3] offset:4095 588 589// NOT-GFX90A: error: instruction not supported on this GPU 590// GFX90A: flat_atomic_min_f64 v[0:1], v[254:255] offset:4095 ; encoding: [0xff,0x0f,0x40,0xdd,0x00,0xfe,0x00,0x00] 591flat_atomic_min_f64 v[0:1], v[254:255] offset:4095 592 593// NOT-GFX90A: error: instruction not supported on this GPU 594// GFX90A: flat_atomic_min_f64 v[0:1], v[2:3] ; encoding: [0x00,0x00,0x40,0xdd,0x00,0x02,0x00,0x00] 595flat_atomic_min_f64 v[0:1], v[2:3] 596 597// NOT-GFX90A: error: instruction not supported on this GPU 598// GFX90A: flat_atomic_min_f64 v[0:1], v[2:3] ; encoding: [0x00,0x00,0x40,0xdd,0x00,0x02,0x00,0x00] 599flat_atomic_min_f64 v[0:1], v[2:3] 600 601// NOT-GFX90A: error: instruction not supported on this GPU 602// GFX90A: flat_atomic_min_f64 v[0:1], v[2:3] offset:7 ; encoding: [0x07,0x00,0x40,0xdd,0x00,0x02,0x00,0x00] 603flat_atomic_min_f64 v[0:1], v[2:3] offset:7 604 605// NOT-GFX90A: error: instruction not supported on this GPU 606// GFX90A: flat_atomic_min_f64 v[0:1], v[0:1], v[2:3] offset:4095 glc ; encoding: [0xff,0x0f,0x41,0xdd,0x00,0x02,0x00,0x00] 607flat_atomic_min_f64 v[0:1], v[0:1], v[2:3] offset:4095 glc 608 609// NOT-GFX90A: error: instruction not supported on this GPU 610// GFX90A: flat_atomic_min_f64 v[0:1], v[2:3] offset:4095 slc ; encoding: [0xff,0x0f,0x42,0xdd,0x00,0x02,0x00,0x00] 611flat_atomic_min_f64 v[0:1], v[2:3] offset:4095 slc 612 613// NOT-GFX90A: error: instruction not supported on this GPU 614// GFX90A: flat_atomic_max_f64 v[0:1], v[2:3] offset:4095 ; encoding: [0xff,0x0f,0x44,0xdd,0x00,0x02,0x00,0x00] 615flat_atomic_max_f64 v[0:1], v[2:3] offset:4095 616 617// NOT-GFX90A: error: instruction not supported on this GPU 618// GFX90A: flat_atomic_max_f64 v[254:255], v[2:3] offset:4095 ; encoding: [0xff,0x0f,0x44,0xdd,0xfe,0x02,0x00,0x00] 619flat_atomic_max_f64 v[254:255], v[2:3] offset:4095 620 621// NOT-GFX90A: error: instruction not supported on this GPU 622// GFX90A: flat_atomic_max_f64 v[0:1], v[254:255] offset:4095 ; encoding: [0xff,0x0f,0x44,0xdd,0x00,0xfe,0x00,0x00] 623flat_atomic_max_f64 v[0:1], v[254:255] offset:4095 624 625// NOT-GFX90A: error: instruction not supported on this GPU 626// GFX90A: flat_atomic_max_f64 v[0:1], v[2:3] ; encoding: [0x00,0x00,0x44,0xdd,0x00,0x02,0x00,0x00] 627flat_atomic_max_f64 v[0:1], v[2:3] 628 629// NOT-GFX90A: error: instruction not supported on this GPU 630// GFX90A: flat_atomic_max_f64 v[0:1], v[2:3] ; encoding: [0x00,0x00,0x44,0xdd,0x00,0x02,0x00,0x00] 631flat_atomic_max_f64 v[0:1], v[2:3] 632 633// NOT-GFX90A: error: instruction not supported on this GPU 634// GFX90A: flat_atomic_max_f64 v[0:1], v[2:3] offset:7 ; encoding: [0x07,0x00,0x44,0xdd,0x00,0x02,0x00,0x00] 635flat_atomic_max_f64 v[0:1], v[2:3] offset:7 636 637// NOT-GFX90A: error: instruction not supported on this GPU 638// GFX90A: flat_atomic_max_f64 v[0:1], v[0:1], v[2:3] offset:4095 glc ; encoding: [0xff,0x0f,0x45,0xdd,0x00,0x02,0x00,0x00] 639flat_atomic_max_f64 v[0:1], v[0:1], v[2:3] offset:4095 glc 640 641// NOT-GFX90A: error: instruction not supported on this GPU 642// GFX90A: flat_atomic_max_f64 v[0:1], v[2:3] offset:4095 slc ; encoding: [0xff,0x0f,0x46,0xdd,0x00,0x02,0x00,0x00] 643flat_atomic_max_f64 v[0:1], v[2:3] offset:4095 slc 644 645// NOT-GFX90A: error: instruction not supported on this GPU 646// GFX90A: global_atomic_add_f64 v[0:1], v[2:3], off ; encoding: [0x00,0x80,0x3c,0xdd,0x00,0x02,0x7f,0x00] 647global_atomic_add_f64 v[0:1], v[2:3], off 648 649// NOT-GFX90A: error: instruction not supported on this GPU 650// GFX90A: global_atomic_min_f64 v[0:1], v[2:3], off ; encoding: [0x00,0x80,0x40,0xdd,0x00,0x02,0x7f,0x00] 651global_atomic_min_f64 v[0:1], v[2:3], off 652 653// NOT-GFX90A: error: instruction not supported on this GPU 654// GFX90A: global_atomic_max_f64 v[0:1], v[2:3], off ; encoding: [0x00,0x80,0x44,0xdd,0x00,0x02,0x7f,0x00] 655global_atomic_max_f64 v[0:1], v[2:3], off 656 657// NOT-GFX90A: error: instruction not supported on this GPU 658// GFX90A: v_fmac_f64_e32 v[4:5], v[2:3], v[4:5] ; encoding: [0x02,0x09,0x08,0x08] 659v_fmac_f64_e32 v[4:5], v[2:3], v[4:5] 660 661// NOT-GFX90A: error: instruction not supported on this GPU 662// GFX90A: v_fmac_f64_e32 v[254:255], v[2:3], v[4:5] ; encoding: [0x02,0x09,0xfc,0x09] 663v_fmac_f64_e32 v[254:255], v[2:3], v[4:5] 664 665// NOT-GFX90A: error: instruction not supported on this GPU 666// GFX90A: v_fmac_f64_e32 v[4:5], v[254:255], v[4:5] ; encoding: [0xfe,0x09,0x08,0x08] 667v_fmac_f64_e32 v[4:5], v[254:255], v[4:5] 668 669// GFX90A: v_fmac_f64_e32 v[4:5], flat_scratch, v[4:5] ; encoding: [0x66,0x08,0x08,0x08] 670// GFX1010: error: instruction not supported on this GPU 671// GFX908: error: instruction not supported on this GPU 672v_fmac_f64_e32 v[4:5], flat_scratch, v[4:5] 673 674// NOT-GFX90A: error: instruction not supported on this GPU 675// GFX90A: v_fmac_f64_e32 v[4:5], vcc, v[4:5] ; encoding: [0x6a,0x08,0x08,0x08] 676v_fmac_f64_e32 v[4:5], vcc, v[4:5] 677 678// NOT-GFX90A: error: instruction not supported on this GPU 679// GFX90A: v_fmac_f64_e32 v[4:5], exec, v[4:5] ; encoding: [0x7e,0x08,0x08,0x08] 680v_fmac_f64_e32 v[4:5], exec, v[4:5] 681 682// NOT-GFX90A: error: instruction not supported on this GPU 683// GFX90A: v_fmac_f64_e32 v[4:5], 0, v[4:5] ; encoding: [0x80,0x08,0x08,0x08] 684v_fmac_f64_e32 v[4:5], 0, v[4:5] 685 686// NOT-GFX90A: error: instruction not supported on this GPU 687// GFX90A: v_fmac_f64_e32 v[4:5], -1, v[4:5] ; encoding: [0xc1,0x08,0x08,0x08] 688v_fmac_f64_e32 v[4:5], -1, v[4:5] 689 690// NOT-GFX90A: error: instruction not supported on this GPU 691// GFX90A: v_fmac_f64_e32 v[4:5], 0.5, v[4:5] ; encoding: [0xf0,0x08,0x08,0x08] 692v_fmac_f64_e32 v[4:5], 0.5, v[4:5] 693 694// NOT-GFX90A: error: instruction not supported on this GPU 695// GFX90A: v_fmac_f64_e32 v[4:5], -4.0, v[4:5] ; encoding: [0xf7,0x08,0x08,0x08] 696v_fmac_f64_e32 v[4:5], -4.0, v[4:5] 697 698// NOT-GFX90A: error: instruction not supported on this GPU 699// GFX90A: v_fmac_f64_e32 v[4:5], 0xaf123456, v[4:5] ; encoding: [0xff,0x08,0x08,0x08,0x56,0x34,0x12,0xaf] 700v_fmac_f64_e32 v[4:5], 0xaf123456, v[4:5] 701 702// NOT-GFX90A: error: instruction not supported on this GPU 703// GFX90A: v_fmac_f64_e32 v[4:5], 0x3f717273, v[4:5] ; encoding: [0xff,0x08,0x08,0x08,0x73,0x72,0x71,0x3f] 704v_fmac_f64_e32 v[4:5], 0x3f717273, v[4:5] 705 706// NOT-GFX90A: error: instruction not supported on this GPU 707// GFX90A: v_fmac_f64_e32 v[4:5], v[2:3], v[254:255] ; encoding: [0x02,0xfd,0x09,0x08] 708v_fmac_f64_e32 v[4:5], v[2:3], v[254:255] 709 710// NOT-GFX90A: error: instruction not supported on this GPU 711// GFX90A: v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x11,0x02,0x00] 712v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] 713 714// NOT-GFX90A: error: instruction not supported on this GPU 715// GFX90A: v_fmac_f64_e64 v[254:255], v[2:3], v[8:9] ; encoding: [0xfe,0x00,0x04,0xd1,0x02,0x11,0x02,0x00] 716v_fmac_f64_e64 v[254:255], v[2:3], v[8:9] 717 718// NOT-GFX90A: error: instruction not supported on this GPU 719// GFX90A: v_fmac_f64_e64 v[4:5], v[254:255], v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0xfe,0x11,0x02,0x00] 720v_fmac_f64_e64 v[4:5], v[254:255], v[8:9] 721 722// GFX90A: v_fmac_f64_e64 v[4:5], flat_scratch, v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0x66,0x10,0x02,0x00] 723// GFX1010: error: instruction not supported on this GPU 724// GFX908: error: instruction not supported on this GPU 725v_fmac_f64_e64 v[4:5], flat_scratch, v[8:9] 726 727// NOT-GFX90A: error: instruction not supported on this GPU 728// GFX90A: v_fmac_f64_e64 v[4:5], vcc, v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0x6a,0x10,0x02,0x00] 729v_fmac_f64_e64 v[4:5], vcc, v[8:9] 730 731// NOT-GFX90A: error: instruction not supported on this GPU 732// GFX90A: v_fmac_f64_e64 v[4:5], exec, v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0x7e,0x10,0x02,0x00] 733v_fmac_f64_e64 v[4:5], exec, v[8:9] 734 735// NOT-GFX90A: error: instruction not supported on this GPU 736// GFX90A: v_fmac_f64_e64 v[4:5], 0, v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0x80,0x10,0x02,0x00] 737v_fmac_f64_e64 v[4:5], 0, v[8:9] 738 739// NOT-GFX90A: error: instruction not supported on this GPU 740// GFX90A: v_fmac_f64_e64 v[4:5], -1, v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0xc1,0x10,0x02,0x00] 741v_fmac_f64_e64 v[4:5], -1, v[8:9] 742 743// NOT-GFX90A: error: instruction not supported on this GPU 744// GFX90A: v_fmac_f64_e64 v[4:5], 0.5, v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0xf0,0x10,0x02,0x00] 745v_fmac_f64_e64 v[4:5], 0.5, v[8:9] 746 747// NOT-GFX90A: error: instruction not supported on this GPU 748// GFX90A: v_fmac_f64_e64 v[4:5], -4.0, v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0xf7,0x10,0x02,0x00] 749v_fmac_f64_e64 v[4:5], -4.0, v[8:9] 750 751// NOT-GFX90A: error: instruction not supported on this GPU 752// GFX90A: v_fmac_f64_e64 v[4:5], v[2:3], v[254:255] ; encoding: [0x04,0x00,0x04,0xd1,0x02,0xfd,0x03,0x00] 753v_fmac_f64_e64 v[4:5], v[2:3], v[254:255] 754 755// GFX90A: v_fmac_f64_e64 v[4:5], v[2:3], flat_scratch ; encoding: [0x04,0x00,0x04,0xd1,0x02,0xcd,0x00,0x00] 756// GFX1010: error: instruction not supported on this GPU 757// GFX908: error: instruction not supported on this GPU 758v_fmac_f64_e64 v[4:5], v[2:3], flat_scratch 759 760// NOT-GFX90A: error: instruction not supported on this GPU 761// GFX90A: v_fmac_f64_e64 v[4:5], v[2:3], vcc ; encoding: [0x04,0x00,0x04,0xd1,0x02,0xd5,0x00,0x00] 762v_fmac_f64_e64 v[4:5], v[2:3], vcc 763 764// NOT-GFX90A: error: instruction not supported on this GPU 765// GFX90A: v_fmac_f64_e64 v[4:5], v[2:3], exec ; encoding: [0x04,0x00,0x04,0xd1,0x02,0xfd,0x00,0x00] 766v_fmac_f64_e64 v[4:5], v[2:3], exec 767 768// NOT-GFX90A: error: instruction not supported on this GPU 769// GFX90A: v_fmac_f64_e64 v[4:5], v[2:3], 0 ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x01,0x01,0x00] 770v_fmac_f64_e64 v[4:5], v[2:3], 0 771 772// NOT-GFX90A: error: instruction not supported on this GPU 773// GFX90A: v_fmac_f64_e64 v[4:5], v[2:3], -1 ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x83,0x01,0x00] 774v_fmac_f64_e64 v[4:5], v[2:3], -1 775 776// NOT-GFX90A: error: instruction not supported on this GPU 777// GFX90A: v_fmac_f64_e64 v[4:5], v[2:3], 0.5 ; encoding: [0x04,0x00,0x04,0xd1,0x02,0xe1,0x01,0x00] 778v_fmac_f64_e64 v[4:5], v[2:3], 0.5 779 780// NOT-GFX90A: error: instruction not supported on this GPU 781// GFX90A: v_fmac_f64_e64 v[4:5], v[2:3], -4.0 ; encoding: [0x04,0x00,0x04,0xd1,0x02,0xef,0x01,0x00] 782v_fmac_f64_e64 v[4:5], v[2:3], -4.0 783 784// NOT-GFX90A: error: instruction not supported on this GPU 785// GFX90A: v_fmac_f64_e64 v[4:5], -v[2:3], v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x11,0x02,0x20] 786v_fmac_f64_e64 v[4:5], -v[2:3], v[8:9] 787 788// NOT-GFX90A: error: instruction not supported on this GPU 789// GFX90A: v_fmac_f64_e64 v[4:5], v[2:3], -v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x11,0x02,0x40] 790v_fmac_f64_e64 v[4:5], v[2:3], -v[8:9] 791 792// NOT-GFX90A: error: instruction not supported on this GPU 793// GFX90A: v_fmac_f64_e64 v[4:5], -v[2:3], -v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x11,0x02,0x60] 794v_fmac_f64_e64 v[4:5], -v[2:3], -v[8:9] 795 796// NOT-GFX90A: error: instruction not supported on this GPU 797// GFX90A: v_fmac_f64_e64 v[4:5], |v[2:3]|, v[8:9] ; encoding: [0x04,0x01,0x04,0xd1,0x02,0x11,0x02,0x00] 798v_fmac_f64_e64 v[4:5], |v[2:3]|, v[8:9] 799 800// NOT-GFX90A: error: instruction not supported on this GPU 801// GFX90A: v_fmac_f64_e64 v[4:5], v[2:3], |v[8:9]| ; encoding: [0x04,0x02,0x04,0xd1,0x02,0x11,0x02,0x00] 802v_fmac_f64_e64 v[4:5], v[2:3], |v[8:9]| 803 804// NOT-GFX90A: error: instruction not supported on this GPU 805// GFX90A: v_fmac_f64_e64 v[4:5], |v[2:3]|, |v[8:9]| ; encoding: [0x04,0x03,0x04,0xd1,0x02,0x11,0x02,0x00] 806v_fmac_f64_e64 v[4:5], |v[2:3]|, |v[8:9]| 807 808// NOT-GFX90A: error: instruction not supported on this GPU 809// GFX90A: v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] clamp ; encoding: [0x04,0x80,0x04,0xd1,0x02,0x11,0x02,0x00] 810v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] clamp 811 812// NOT-GFX90A: error: instruction not supported on this GPU 813// GFX90A: v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] mul:2 ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x11,0x02,0x08] 814v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] mul:2 815 816// NOT-GFX90A: error: instruction not supported on this GPU 817// GFX90A: v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] mul:4 ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x11,0x02,0x10] 818v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] mul:4 819 820// NOT-GFX90A: error: instruction not supported on this GPU 821// GFX90A: v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] div:2 ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x11,0x02,0x18] 822v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] div:2 823 824// GFX90A: v_mul_legacy_f32 v5, v1, v2 ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0x05,0x02,0x00] 825v_mul_legacy_f32_e64 v5, v1, v2 826 827// GFX90A: v_mul_legacy_f32 v255, v1, v2 ; encoding: [0xff,0x00,0xa1,0xd2,0x01,0x05,0x02,0x00] 828v_mul_legacy_f32_e64 v255, v1, v2 829 830// GFX90A: v_mul_legacy_f32 v5, v255, v2 ; encoding: [0x05,0x00,0xa1,0xd2,0xff,0x05,0x02,0x00] 831v_mul_legacy_f32_e64 v5, v255, v2 832 833// GFX90A: v_mul_legacy_f32 v5, s1, v2 ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0x04,0x02,0x00] 834v_mul_legacy_f32_e64 v5, s1, v2 835 836// GFX90A: v_mul_legacy_f32 v5, s101, v2 ; encoding: [0x05,0x00,0xa1,0xd2,0x65,0x04,0x02,0x00] 837v_mul_legacy_f32_e64 v5, s101, v2 838 839// GFX90A: v_mul_legacy_f32 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0xa1,0xd2,0x6a,0x04,0x02,0x00] 840v_mul_legacy_f32_e64 v5, vcc_lo, v2 841 842// GFX90A: v_mul_legacy_f32 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0xa1,0xd2,0x6b,0x04,0x02,0x00] 843v_mul_legacy_f32_e64 v5, vcc_hi, v2 844 845// GFX90A: v_mul_legacy_f32 v5, m0, v2 ; encoding: [0x05,0x00,0xa1,0xd2,0x7c,0x04,0x02,0x00] 846v_mul_legacy_f32_e64 v5, m0, v2 847 848// GFX90A: v_mul_legacy_f32 v5, exec_lo, v2 ; encoding: [0x05,0x00,0xa1,0xd2,0x7e,0x04,0x02,0x00] 849v_mul_legacy_f32_e64 v5, exec_lo, v2 850 851// GFX90A: v_mul_legacy_f32 v5, exec_hi, v2 ; encoding: [0x05,0x00,0xa1,0xd2,0x7f,0x04,0x02,0x00] 852v_mul_legacy_f32_e64 v5, exec_hi, v2 853 854// GFX90A: v_mul_legacy_f32 v5, 0, v2 ; encoding: [0x05,0x00,0xa1,0xd2,0x80,0x04,0x02,0x00] 855v_mul_legacy_f32_e64 v5, 0, v2 856 857// GFX90A: v_mul_legacy_f32 v5, -1, v2 ; encoding: [0x05,0x00,0xa1,0xd2,0xc1,0x04,0x02,0x00] 858v_mul_legacy_f32_e64 v5, -1, v2 859 860// GFX90A: v_mul_legacy_f32 v5, 0.5, v2 ; encoding: [0x05,0x00,0xa1,0xd2,0xf0,0x04,0x02,0x00] 861v_mul_legacy_f32_e64 v5, 0.5, v2 862 863// GFX90A: v_mul_legacy_f32 v5, -4.0, v2 ; encoding: [0x05,0x00,0xa1,0xd2,0xf7,0x04,0x02,0x00] 864v_mul_legacy_f32_e64 v5, -4.0, v2 865 866// GFX90A: v_mul_legacy_f32 v5, v1, v255 ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0xff,0x03,0x00] 867v_mul_legacy_f32_e64 v5, v1, v255 868 869// GFX90A: v_mul_legacy_f32 v5, v1, s2 ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0x05,0x00,0x00] 870v_mul_legacy_f32_e64 v5, v1, s2 871 872// GFX90A: v_mul_legacy_f32 v5, v1, s101 ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0xcb,0x00,0x00] 873v_mul_legacy_f32_e64 v5, v1, s101 874 875// GFX90A: v_mul_legacy_f32 v5, v1, vcc_lo ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0xd5,0x00,0x00] 876v_mul_legacy_f32_e64 v5, v1, vcc_lo 877 878// GFX90A: v_mul_legacy_f32 v5, v1, vcc_hi ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0xd7,0x00,0x00] 879v_mul_legacy_f32_e64 v5, v1, vcc_hi 880 881// GFX90A: v_mul_legacy_f32 v5, v1, m0 ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0xf9,0x00,0x00] 882v_mul_legacy_f32_e64 v5, v1, m0 883 884// GFX90A: v_mul_legacy_f32 v5, v1, exec_lo ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0xfd,0x00,0x00] 885v_mul_legacy_f32_e64 v5, v1, exec_lo 886 887// GFX90A: v_mul_legacy_f32 v5, v1, exec_hi ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0xff,0x00,0x00] 888v_mul_legacy_f32_e64 v5, v1, exec_hi 889 890// GFX90A: v_mul_legacy_f32 v5, v1, 0 ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0x01,0x01,0x00] 891v_mul_legacy_f32_e64 v5, v1, 0 892 893// GFX90A: v_mul_legacy_f32 v5, v1, -1 ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0x83,0x01,0x00] 894v_mul_legacy_f32_e64 v5, v1, -1 895 896// GFX90A: v_mul_legacy_f32 v5, v1, 0.5 ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0xe1,0x01,0x00] 897v_mul_legacy_f32_e64 v5, v1, 0.5 898 899// GFX90A: v_mul_legacy_f32 v5, v1, -4.0 ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0xef,0x01,0x00] 900v_mul_legacy_f32_e64 v5, v1, -4.0 901 902// GFX90A: v_mul_legacy_f32 v5, -v1, v2 ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0x05,0x02,0x20] 903v_mul_legacy_f32_e64 v5, -v1, v2 904 905// GFX90A: v_mul_legacy_f32 v5, v1, -v2 ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0x05,0x02,0x40] 906v_mul_legacy_f32_e64 v5, v1, -v2 907 908// GFX90A: v_mul_legacy_f32 v5, -v1, -v2 ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0x05,0x02,0x60] 909v_mul_legacy_f32_e64 v5, -v1, -v2 910 911// GFX90A: v_mul_legacy_f32 v5, |v1|, v2 ; encoding: [0x05,0x01,0xa1,0xd2,0x01,0x05,0x02,0x00] 912v_mul_legacy_f32_e64 v5, |v1|, v2 913 914// GFX90A: v_mul_legacy_f32 v5, v1, |v2| ; encoding: [0x05,0x02,0xa1,0xd2,0x01,0x05,0x02,0x00] 915v_mul_legacy_f32_e64 v5, v1, |v2| 916 917// GFX90A: v_mul_legacy_f32 v5, |v1|, |v2| ; encoding: [0x05,0x03,0xa1,0xd2,0x01,0x05,0x02,0x00] 918v_mul_legacy_f32_e64 v5, |v1|, |v2| 919 920// GFX90A: v_mul_legacy_f32 v5, v1, v2 clamp ; encoding: [0x05,0x80,0xa1,0xd2,0x01,0x05,0x02,0x00] 921v_mul_legacy_f32_e64 v5, v1, v2 clamp 922 923// GFX90A: v_mul_legacy_f32 v5, v1, v2 mul:2 ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0x05,0x02,0x08] 924v_mul_legacy_f32_e64 v5, v1, v2 mul:2 925 926// GFX90A: v_mul_legacy_f32 v5, v1, v2 mul:4 ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0x05,0x02,0x10] 927v_mul_legacy_f32_e64 v5, v1, v2 mul:4 928 929// GFX90A: v_mul_legacy_f32 v5, v1, v2 div:2 ; encoding: [0x05,0x00,0xa1,0xd2,0x01,0x05,0x02,0x18] 930v_mul_legacy_f32_e64 v5, v1, v2 div:2 931 932// GFX90A: v_xor_b32_dpp v6, v29, v27 row_newbcast:0 row_mask:0xf bank_mask:0xf ; encoding: [0xfa,0x36,0x0c,0x2a,0x1d,0x50,0x01,0xff] 933// NOT-GFX90A: error: not a valid operand. 934v_xor_b32 v6, v29, v27 row_newbcast:0 935 936// GFX90A: v_xor_b32_dpp v6, v29, v27 row_newbcast:7 row_mask:0xf bank_mask:0xf ; encoding: [0xfa,0x36,0x0c,0x2a,0x1d,0x57,0x01,0xff] 937// NOT-GFX90A: error: not a valid operand. 938v_xor_b32 v6, v29, v27 row_newbcast:7 939 940// GFX90A: v_xor_b32_dpp v6, v29, v27 row_newbcast:15 row_mask:0xf bank_mask:0xf ; encoding: [0xfa,0x36,0x0c,0x2a,0x1d,0x5f,0x01,0xff] 941// NOT-GFX90A: error: not a valid operand. 942v_xor_b32 v6, v29, v27 row_newbcast:15 943 944// GFX90A: buffer_atomic_add_f32 v0, v2, s[4:7], 0 idxen glc ; encoding: [0x00,0x60,0x34,0xe1,0x02,0x00,0x01,0x80] 945// GFX1010: error: instruction not supported on this GPU 946// GFX908: error: instruction must not use glc 947buffer_atomic_add_f32 v0, v2, s[4:7], 0 idxen glc 948 949// GFX90A: buffer_atomic_add_f32 v0, v2, s[4:7], 0 idxen glc ; encoding: [0x00,0x60,0x34,0xe1,0x02,0x00,0x01,0x80] 950// GFX1010: error: instruction not supported on this GPU 951// GFX908: error: instruction must not use glc 952buffer_atomic_add_f32 v0, v2, s[4:7], 0 idxen glc 953 954// GFX90A: buffer_atomic_pk_add_f16 v0, v2, s[4:7], 0 idxen glc ; encoding: [0x00,0x60,0x38,0xe1,0x02,0x00,0x01,0x80] 955// GFX1010: error: instruction not supported on this GPU 956// GFX908: error: instruction must not use glc 957buffer_atomic_pk_add_f16 v0, v2, s[4:7], 0 idxen glc 958 959// GFX90A: global_atomic_add_f32 v0, v[0:1], v2, off glc ; encoding: [0x00,0x80,0x35,0xdd,0x00,0x02,0x7f,0x00] 960// GFX1010: error: instruction not supported on this GPU 961// GFX908: error: operands are not valid for this GPU or mode 962global_atomic_add_f32 v0, v[0:1], v2, off glc 963 964// GFX90A: global_atomic_pk_add_f16 v0, v[0:1], v2, off glc ; encoding: [0x00,0x80,0x39,0xdd,0x00,0x02,0x7f,0x00] 965// GFX1010: error: instruction not supported on this GPU 966// GFX908: error: operands are not valid for this GPU or mode 967global_atomic_pk_add_f16 v0, v[0:1], v2, off glc 968 969// GFX90A: global_atomic_add_f64 v[0:1], v[0:1], v[2:3], off glc ; encoding: [0x00,0x80,0x3d,0xdd,0x00,0x02,0x7f,0x00] 970// NOT-GFX90A: error: instruction not supported on this GPU 971global_atomic_add_f64 v[0:1], v[0:1], v[2:3], off glc 972 973// GFX90A: global_atomic_max_f64 v[0:1], v[0:1], v[2:3], off glc ; encoding: [0x00,0x80,0x45,0xdd,0x00,0x02,0x7f,0x00] 974// NOT-GFX90A: error: instruction not supported on this GPU 975global_atomic_max_f64 v[0:1], v[0:1], v[2:3], off glc 976 977// GFX90A: global_atomic_min_f64 v[0:1], v[0:1], v[2:3], off glc ; encoding: [0x00,0x80,0x41,0xdd,0x00,0x02,0x7f,0x00] 978// NOT-GFX90A: error: instruction not supported on this GPU 979global_atomic_min_f64 v[0:1], v[0:1], v[2:3], off glc 980 981// GFX90A: flat_atomic_add_f64 v[0:1], v[0:1], v[2:3] glc ; encoding: [0x00,0x00,0x3d,0xdd,0x00,0x02,0x00,0x00] 982// NOT-GFX90A: error: instruction not supported on this GPU 983flat_atomic_add_f64 v[0:1], v[0:1], v[2:3] glc 984 985// GFX90A: flat_atomic_max_f64 v[0:1], v[0:1], v[2:3] glc ; encoding: [0x00,0x00,0x45,0xdd,0x00,0x02,0x00,0x00] 986// NOT-GFX90A: error: instruction not supported on this GPU 987flat_atomic_max_f64 v[0:1], v[0:1], v[2:3] glc 988 989// GFX90A: flat_atomic_min_f64 v[0:1], v[0:1], v[2:3] glc ; encoding: [0x00,0x00,0x41,0xdd,0x00,0x02,0x00,0x00] 990// NOT-GFX90A: error: instruction not supported on this GPU 991flat_atomic_min_f64 v[0:1], v[0:1], v[2:3] glc 992 993// GFX90A: global_atomic_add_f32 v0, v[0:1], v2, off glc ; encoding: [0x00,0x80,0x35,0xdd,0x00,0x02,0x7f,0x00] 994// GFX908: error: operands are not valid for this GPU or mode 995// GFX1010: error: instruction not supported on this GPU 996global_atomic_add_f32 v0, v[0:1], v2, off glc 997 998// GFX90A: global_atomic_add_f32 v[0:1], v2, off ; encoding: [0x00,0x80,0x34,0xdd,0x00,0x02,0x7f,0x00] 999// GFX1010: error: instruction not supported on this GPU 1000global_atomic_add_f32 v[0:1], v2, off 1001 1002// GFX90A: global_atomic_add_f32 v0, v2, s[0:1] ; encoding: [0x00,0x80,0x34,0xdd,0x00,0x02,0x00,0x00] 1003// GFX1010: error: instruction not supported on this GPU 1004global_atomic_add_f32 v0, v2, s[0:1] 1005 1006// GFX90A: global_atomic_add_f32 v1, v0, v2, s[0:1] glc 1007// GFX908: error: operands are not valid for this GPU or mode 1008// GFX1010: error: instruction not supported on this GPU 1009global_atomic_add_f32 v1, v0, v2, s[0:1] glc ; encoding: [0x00,0x80,0x35,0xdd,0x00,0x02,0x00,0x01] 1010 1011// GFX908: error: operands are not valid for this GPU or mode 1012// GFX1010: error: instruction not supported on this GPU 1013// GFX90A: global_atomic_pk_add_f16 v0, v[0:1], v2, off glc ; encoding: [0x00,0x80,0x39,0xdd,0x00,0x02,0x7f,0x00] 1014global_atomic_pk_add_f16 v0, v[0:1], v2, off glc 1015