117 lines · plain
1// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1250 -show-encoding %s 2>&1 | FileCheck --check-prefix=GFX1250-ERR --implicit-check-not=error: --strict-whitespace %s2 3v_cvt_pk_f16_bf8 v1, v2 clamp4// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction5// GFX1250-ERR-NEXT:{{^}}v_cvt_pk_f16_bf8 v1, v2 clamp6// GFX1250-ERR-NEXT:{{^}} ^7 8v_cvt_pk_f16_bf8 v1, v2 mul:29// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: not a valid operand.10// GFX1250-ERR-NEXT:{{^}}v_cvt_pk_f16_bf8 v1, v2 mul:211// GFX1250-ERR-NEXT:{{^}} ^12 13v_cvt_pk_f16_fp8 v1, v2 clamp14// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction15// GFX1250-ERR-NEXT:{{^}}v_cvt_pk_f16_fp8 v1, v2 clamp16// GFX1250-ERR-NEXT:{{^}} ^17 18v_cvt_pk_f16_fp8 v1, v2 mul:219// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: not a valid operand.20// GFX1250-ERR-NEXT:{{^}}v_cvt_pk_f16_fp8 v1, v2 mul:221// GFX1250-ERR-NEXT:{{^}} ^22 23v_cvt_f32_bf16 v5, v1 clamp24// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction25// GFX1250-ERR-NEXT:{{^}}v_cvt_f32_bf16 v5, v1 clamp26// GFX1250-ERR-NEXT:{{^}} ^27 28v_cvt_f32_bf16 v5, v1 mul:229// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: not a valid operand.30// GFX1250-ERR-NEXT:{{^}}v_cvt_f32_bf16 v5, v1 mul:231// GFX1250-ERR-NEXT:{{^}} ^32 33v_cvt_f32_bf16 v5, v1 div:234// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: not a valid operand.35// GFX1250-ERR-NEXT:{{^}}v_cvt_f32_bf16 v5, v1 div:236// GFX1250-ERR-NEXT:{{^}} ^37 38v_cos_bf16 v1, v2 clamp39// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction40// GFX1250-ERR-NEXT:{{^}}v_cos_bf16 v1, v2 clamp41// GFX1250-ERR-NEXT:{{^}} ^42 43v_cos_bf16 v1, v2 mul:244// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: not a valid operand.45// GFX1250-ERR-NEXT:{{^}}v_cos_bf16 v1, v2 mul:246// GFX1250-ERR-NEXT:{{^}} ^47 48v_exp_bf16 v1, v2 clamp49// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction50// GFX1250-ERR-NEXT:{{^}}v_exp_bf16 v1, v2 clamp51// GFX1250-ERR-NEXT:{{^}} ^52 53v_exp_bf16 v1, v2 mul:254// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: not a valid operand.55// GFX1250-ERR-NEXT:{{^}}v_exp_bf16 v1, v2 mul:256// GFX1250-ERR-NEXT:{{^}} ^57 58v_log_bf16 v1, v2 clamp59// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction60// GFX1250-ERR-NEXT:{{^}}v_log_bf16 v1, v2 clamp61// GFX1250-ERR-NEXT:{{^}} ^62 63v_log_bf16 v1, v2 mul:264// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: not a valid operand.65// GFX1250-ERR-NEXT:{{^}}v_log_bf16 v1, v2 mul:266// GFX1250-ERR-NEXT:{{^}} ^67 68v_rcp_bf16 v1, v2 clamp69// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction70// GFX1250-ERR-NEXT:{{^}}v_rcp_bf16 v1, v2 clamp71// GFX1250-ERR-NEXT:{{^}} ^72 73v_rcp_bf16 v1, v2 mul:274// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: not a valid operand.75// GFX1250-ERR-NEXT:{{^}}v_rcp_bf16 v1, v2 mul:276// GFX1250-ERR-NEXT:{{^}} ^77 78v_rsq_bf16 v1, v2 clamp79// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction80// GFX1250-ERR-NEXT:{{^}}v_rsq_bf16 v1, v2 clamp81// GFX1250-ERR-NEXT:{{^}} ^82 83v_rsq_bf16 v1, v2 mul:284// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: not a valid operand.85// GFX1250-ERR-NEXT:{{^}}v_rsq_bf16 v1, v2 mul:286// GFX1250-ERR-NEXT:{{^}} ^87 88v_sin_bf16 v1, v2 clamp89// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction90// GFX1250-ERR-NEXT:{{^}}v_sin_bf16 v1, v2 clamp91// GFX1250-ERR-NEXT:{{^}} ^92 93v_sin_bf16 v1, v2 mul:294// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: not a valid operand.95// GFX1250-ERR-NEXT:{{^}}v_sin_bf16 v1, v2 mul:296// GFX1250-ERR-NEXT:{{^}} ^97 98v_sqrt_bf16 v1, v2 clamp99// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction100// GFX1250-ERR-NEXT:{{^}}v_sqrt_bf16 v1, v2 clamp101// GFX1250-ERR-NEXT:{{^}} ^102 103v_sqrt_bf16 v1, v2 mul:2104// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: not a valid operand.105// GFX1250-ERR-NEXT:{{^}}v_sqrt_bf16 v1, v2 mul:2106// GFX1250-ERR-NEXT:{{^}} ^107 108v_tanh_bf16 v1, v2 clamp109// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction110// GFX1250-ERR-NEXT:{{^}}v_tanh_bf16 v1, v2 clamp111// GFX1250-ERR-NEXT:{{^}} ^112 113v_tanh_bf16 v1, v2 mul:2114// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: not a valid operand.115// GFX1250-ERR-NEXT:{{^}}v_tanh_bf16 v1, v2 mul:2116// GFX1250-ERR-NEXT:{{^}} ^117