llvm.org GIT mirror llvm / release_70 test / MC / AMDGPU / smrd-err.s
release_70

Tree @release_70 (Download .tar.gz)

smrd-err.s @release_70raw · history · blame

// RUN: llvm-mc -arch=amdgcn -mcpu=tahiti %s 2>&1 | FileCheck -check-prefix=GCN -check-prefix=SI %s
// RUN: not llvm-mc -arch=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefix=GCN -check-prefix=VI %s

s_load_dwordx4 s[100:103], s[2:3], s4
// VI: error: not a valid operand
// SI: s_load_dwordx4 s[100:103], s[2:3], s4


s_load_dwordx8 s[96:103], s[2:3], s4
// VI: error: not a valid operand
// SI: 	s_load_dwordx8 s[96:103], s[2:3], s4

s_load_dwordx16 s[88:103], s[2:3], s4
// VI: error: not a valid operand
// SI: s_load_dwordx16 s[88:103], s[2:3], s4