Home | History | Annotate | Download | only in AMDGPU
      1 // RUN: not llvm-mc -arch=amdgcn -mcpu=gfx900 -show-encoding %s 2>&1 | FileCheck -check-prefix=GFX9 %s
      2 
      3 v_pk_add_f16 v1, -17, v2
      4 // GFX9: :19: error: invalid operand for instruction
      5 
      6 v_pk_add_f16 v1, 65, v2
      7 // GFX9: :18: error: invalid operand for instruction
      8 
      9 v_pk_add_f16 v1, 64.0, v2
     10 // GFX9: :18: error: invalid operand for instruction
     11 
     12 v_pk_add_f16 v1, -0.15915494, v2
     13 // GFX9: :19: error: invalid operand for instruction
     14 
     15 v_pk_add_f16 v1, -0.0, v2
     16 // GFX9: :19: error: invalid operand for instruction
     17 
     18 v_pk_add_f16 v1, -32768, v2
     19 // GFX9: :19: error: invalid operand for instruction
     20 
     21 v_pk_add_f16 v1, 32767, v2
     22 // GFX9: :18: error: invalid operand for instruction
     23