Home | History | Annotate | Download | only in AMDGPU
      1 // RUN: llvm-mc -arch=amdgcn -mcpu=tahiti %s | FileCheck -check-prefix=GCN -check-prefix=SI %s
      2 // RUN: not llvm-mc -arch=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefix=GCN -check-prefix=VI %s
      3 
      4 s_load_dwordx4 s[100:103], s[2:3], s4
      5 // VI: error: invalid operand for instruction
      6 // SI: s_load_dwordx4 s[100:103], s[2:3], s4
      7 
      8 
      9 s_load_dwordx8 s[96:103], s[2:3], s4
     10 // VI: error: invalid operand for instruction
     11 // SI: 	s_load_dwordx8 s[96:103], s[2:3], s4
     12 
     13 s_load_dwordx16 s[88:103], s[2:3], s4
     14 // VI: error: invalid operand for instruction
     15 // SI: s_load_dwordx16 s[88:103], s[2:3], s4
     16