1 // RUN: not llvm-mc -arch=amdgcn -mcpu=tahiti %s 2>&1 | FileCheck %s 2 // RUN: not llvm-mc -arch=amdgcn -mcpu=tonga %s 2>&1 | FileCheck %s 3 4 s_add_i32 s104, s0, s1 5 // CHECK: error: invalid operand for instruction 6 7 s_add_i32 s105, s0, s1 8 // CHECK: error: invalid operand for instruction 9 10 v_add_i32 v256, v0, v1 11 // CHECK: error: invalid operand for instruction 12 13 v_add_i32 v257, v0, v1 14 // CHECK: error: invalid operand for instruction 15 16 s_mov_b64 s[0:17], -1 17 // CHECK: error: invalid operand for instruction 18 19 s_mov_b64 s[103:104], -1 20 // CHECK: error: invalid operand for instruction 21 22 s_mov_b64 s[104:105], -1 23 // CHECK: error: invalid operand for instruction 24 25 s_load_dwordx4 s[102:105], s[2:3], s4 26 // CHECK: error: invalid operand for instruction 27 28 s_load_dwordx4 s[104:108], s[2:3], s4 29 // CHECK: error: invalid operand for instruction 30 31 s_load_dwordx4 s[108:112], s[2:3], s4 32 // CHECK: error: invalid operand for instruction 33 34 s_load_dwordx4 s[1:4], s[2:3], s4 35 // CHECK: error: invalid operand for instruction 36 37 s_load_dwordx4 s[1:4], s[2:3], s4 38 // CHECK: error: invalid operand for instruction 39 40 s_load_dwordx8 s[104:111], s[2:3], s4 41 // CHECK: error: invalid operand for instruction 42 43 s_load_dwordx8 s[100:107], s[2:3], s4 44 // CHECK: error: invalid operand for instruction 45 46 s_load_dwordx8 s[108:115], s[2:3], s4 47 // CHECK: error: invalid operand for instruction 48 49 s_load_dwordx16 s[92:107], s[2:3], s4 50 // CHECK: error: invalid operand for instruction 51 52 s_load_dwordx16 s[96:111], s[2:3], s4 53 // CHECK: error: invalid operand for instruction 54 55 s_load_dwordx16 s[100:115], s[2:3], s4 56 // CHECK: error: invalid operand for instruction 57 58 s_load_dwordx16 s[104:119], s[2:3], s4 59 // CHECK: error: invalid operand for instruction 60 61 s_load_dwordx16 s[108:123], s[2:3], s4 62 // CHECK: error: invalid operand for instruction 63