2016-10-29 05:55:15 +08:00
|
|
|
// RUN: llvm-mc -arch=amdgcn -mcpu=tahiti %s 2>&1 | FileCheck -check-prefix=GCN -check-prefix=SI %s
|
2015-11-05 11:11:27 +08:00
|
|
|
// 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
|
2016-05-23 17:59:02 +08:00
|
|
|
// VI: error: not a valid operand
|
2015-11-05 11:11:27 +08:00
|
|
|
// SI: s_load_dwordx4 s[100:103], s[2:3], s4
|
|
|
|
|
|
|
|
|
|
|
|
s_load_dwordx8 s[96:103], s[2:3], s4
|
2016-05-23 17:59:02 +08:00
|
|
|
// VI: error: not a valid operand
|
2015-11-05 11:11:27 +08:00
|
|
|
// SI: s_load_dwordx8 s[96:103], s[2:3], s4
|
|
|
|
|
|
|
|
s_load_dwordx16 s[88:103], s[2:3], s4
|
2016-05-23 17:59:02 +08:00
|
|
|
// VI: error: not a valid operand
|
2015-11-05 11:11:27 +08:00
|
|
|
// SI: s_load_dwordx16 s[88:103], s[2:3], s4
|