1// RUN: not llvm-mc -arch=amdgcn %s 2>&1 | FileCheck %s 2// RUN: not llvm-mc -arch=amdgcn -mcpu=SI %s 2>&1 | FileCheck %s 3 4// offset too big 5// CHECK: invalid operand for instruction 6ds_add_u32 v2, v4 offset:1000000000 7 8// offset0 twice 9// CHECK: error: not a valid operand. 10ds_write2_b32 v2, v4, v6 offset0:4 offset0:8 11 12// offset1 twice 13// CHECK: error: not a valid operand. 14ds_write2_b32 v2, v4, v6 offset1:4 offset1:8 15 16// offset0 too big 17// CHECK: invalid operand for instruction 18ds_write2_b32 v2, v4, v6 offset0:1000000000 19 20// offset1 too big 21// CHECK: invalid operand for instruction 22ds_write2_b32 v2, v4, v6 offset1:1000000000 23 24