1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 13:02:52 +02:00
llvm-mirror/test/MC/AMDGPU/literalv216-err.s
Matt Arsenault 96b9e12990 AMDGPU: Add VOP3P instruction format
Add a few non-VOP3P but instructions related to packed.

Includes hack with dummy operands for the benefit of the assembler

llvm-svn: 296368
2017-02-27 18:49:11 +00:00

23 lines
670 B
ArmAsm

// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx901 -show-encoding %s 2>&1 | FileCheck -check-prefix=GFX9 %s
v_pk_add_f16 v1, -17, v2
// GFX9: :19: error: invalid operand for instruction
v_pk_add_f16 v1, 65, v2
// GFX9: :18: error: invalid operand for instruction
v_pk_add_f16 v1, 64.0, v2
// GFX9: :18: error: invalid operand for instruction
v_pk_add_f16 v1, -0.15915494, v2
// GFX9: :19: error: invalid operand for instruction
v_pk_add_f16 v1, -0.0, v2
// GFX9: :19: error: invalid operand for instruction
v_pk_add_f16 v1, -32768, v2
// GFX9: :19: error: invalid operand for instruction
v_pk_add_f16 v1, 32767, v2
// GFX9: :18: error: invalid operand for instruction