mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 21:57:55 +00:00
d6028cdcc7
Also add glc bit to the scalar loads since they exist on VI and change the caching behavior. This currently has an assembler bug where the glc bit is incorrectly accepted on SI/CI which do not have it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285463 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
557 B
ArmAsm
16 lines
557 B
ArmAsm
// 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
|