81 lines
2.5 KiB
ArmAsm
81 lines
2.5 KiB
ArmAsm
// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx940 %s 2>&1 | FileCheck --check-prefix=GFX940 --implicit-check-not=error: %s
|
|
|
|
v_mac_f32 v0, v1, v2
|
|
// FIXME: error message is incorrect
|
|
// GFX940: error: operands are not valid for this GPU or mode
|
|
|
|
v_mad_f32 v0, v1, v2, v3
|
|
// GFX940: error: instruction not supported on this GPU
|
|
|
|
v_madak_f32 v0, v1, v2, 0
|
|
// GFX940: error: instruction not supported on this GPU
|
|
|
|
v_madmk_f32 v0, v1, 0, v2
|
|
// GFX940: error: instruction not supported on this GPU
|
|
|
|
v_mad_legacy_f32 v0, v1, v2, v3
|
|
// GFX940: error: instruction not supported on this GPU
|
|
|
|
v_mov_b64 v[2:3], v[4:5] row_shl:1
|
|
// GFX940: error: 64 bit dpp only supports row_newbcast
|
|
|
|
v_mov_b64 v[2:3], -v[4:5]
|
|
// GFX940: error: not a valid operand.
|
|
|
|
v_mov_b64 v[2:3], |v[4:5]|
|
|
// GFX940: error: not a valid operand.
|
|
|
|
v_mov_b64 v[2:3], v[4:5] dst_sel:BYTE_0 dst_unused:UNUSED_PRESERVE src0_sel:DWORD
|
|
// GFX940: error: not a valid operand.
|
|
|
|
v_mov_b64_sdwa v[2:3], v[4:5]
|
|
// GFX940: error: sdwa variant of this instruction is not supported
|
|
|
|
buffer_invl2
|
|
// GFX940: error: instruction not supported on this GPU
|
|
|
|
global_load_dword v2, v[2:3], off glc
|
|
// GFX940: error: invalid operand for instruction
|
|
|
|
global_load_dword v2, v[2:3], off slc
|
|
// GFX940: error: invalid operand for instruction
|
|
|
|
global_load_dword v2, v[2:3], off scc
|
|
// GFX940: error: invalid operand for instruction
|
|
|
|
s_load_dword s2, s[2:3], 0x0 sc0
|
|
// GFX940: error: invalid operand for instruction
|
|
|
|
buffer_atomic_swap v5, off, s[8:11], s3 glc
|
|
// GFX940: error: invalid operand for instruction
|
|
|
|
buffer_atomic_swap v5, off, s[8:11], s3 slc
|
|
// GFX940: error: invalid operand for instruction
|
|
|
|
buffer_wbl2 glc
|
|
// GFX940: error: invalid operand for instruction
|
|
|
|
buffer_wbl2 scc
|
|
// GFX940: error: invalid operand for instruction
|
|
|
|
v_dot2_u32_u16 v0, 1, v0, s2 op_sel:[0,1,0,1] op_sel_hi:[0,0,1,1]
|
|
// GFX940: error: invalid op_sel operand
|
|
|
|
s_getreg_b32 s1, hwreg(HW_REG_FLAT_SCR_LO)
|
|
// GFX940: error: specified hardware register is not supported on this GPU
|
|
|
|
s_getreg_b32 s1, hwreg(HW_REG_FLAT_SCR_HI)
|
|
// GFX940: error: specified hardware register is not supported on this GPU
|
|
|
|
s_getreg_b32 s1, hwreg(HW_REG_XNACK_MASK)
|
|
// GFX940: error: specified hardware register is not supported on this GPU
|
|
|
|
s_getreg_b32 s1, hwreg(HW_REG_HW_ID1)
|
|
// GFX940: error: specified hardware register is not supported on this GPU
|
|
|
|
s_getreg_b32 s1, hwreg(HW_REG_HW_ID2)
|
|
// GFX940: error: specified hardware register is not supported on this GPU
|
|
|
|
s_getreg_b32 s1, hwreg(HW_REG_POPS_PACKER)
|
|
// GFX940: error: specified hardware register is not supported on this GPU
|