1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/MC/AMDGPU/literalv216-err.s
Dmitry Preobrazhensky 6baa8ed1f1 [AMDGPU][MC][GFX9] Corrected encoding of ttmp registers, disabled tba/tma
See bugs 35494 and 35559:
https://bugs.llvm.org/show_bug.cgi?id=35494
https://bugs.llvm.org/show_bug.cgi?id=35559

Reviewers: vpykhtin, artem.tamazov, arsenm

Differential Revision: https://reviews.llvm.org/D41007

llvm-svn: 320375
2017-12-11 15:23:20 +00:00

23 lines
670 B
ArmAsm

// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx900 -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