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