brintos

brintos / llvm-project-archived public Read only

0
0
Text · 11.1 KiB · e276309 Raw
188 lines · plain
1// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --version 52// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1250 -mattr=-real-true16 -show-encoding %s | FileCheck --check-prefixes=GFX1250 %s3// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=-real-true16 -show-encoding %s 2>&1 | FileCheck --check-prefix=GFX12-ERR --implicit-check-not=error: --strict-whitespace %s4 5v_tanh_f32 v5, v1 dpp8:[7,6,5,4,3,2,1,0]6// GFX1250: v_tanh_f32_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0x3c,0x0a,0x7e,0x01,0x77,0x39,0x05]7// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU8 9v_tanh_f32 v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:110// GFX1250: v_tanh_f32_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0x3c,0x0a,0x7e,0x01,0x77,0x39,0x05]11// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU12 13v_tanh_f32 v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:014// GFX1250: v_tanh_f32_dpp v255, v255 dpp8:[0,0,0,0,0,0,0,0] ; encoding: [0xe9,0x3c,0xfe,0x7f,0xff,0x00,0x00,0x00]15// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU16 17v_tanh_f16 v5, v1 dpp8:[7,6,5,4,3,2,1,0]18// GFX1250: v_tanh_f16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0x3e,0x0a,0x7e,0x01,0x77,0x39,0x05]19// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU20 21v_tanh_f16 v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:122// GFX1250: v_tanh_f16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0x3e,0x0a,0x7e,0x01,0x77,0x39,0x05]23// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU24 25v_tanh_f16 v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:026// GFX1250: v_tanh_f16_dpp v127, v127 dpp8:[0,0,0,0,0,0,0,0] ; encoding: [0xe9,0x3e,0xfe,0x7e,0x7f,0x00,0x00,0x00]27// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU28 29v_tanh_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0]30// GFX1250: v_tanh_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0x94,0x0a,0x7e,0x01,0x77,0x39,0x05]31// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU32 33v_tanh_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:134// GFX1250: v_tanh_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0x94,0x0a,0x7e,0x01,0x77,0x39,0x05]35// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU36 37v_tanh_bf16 v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:038// GFX1250: v_tanh_bf16_dpp v127, v127 dpp8:[0,0,0,0,0,0,0,0] ; encoding: [0xe9,0x94,0xfe,0x7e,0x7f,0x00,0x00,0x00]39// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU40 41v_prng_b32 v5, v1 dpp8:[7,6,5,4,3,2,1,0]42// GFX1250: v_prng_b32_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0x96,0x0a,0x7e,0x01,0x77,0x39,0x05]43// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU44 45v_prng_b32 v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:146// GFX1250: v_prng_b32_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0x96,0x0a,0x7e,0x01,0x77,0x39,0x05]47// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU48 49v_prng_b32 v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:050// GFX1250: v_prng_b32_dpp v255, v255 dpp8:[0,0,0,0,0,0,0,0] ; encoding: [0xe9,0x96,0xfe,0x7f,0xff,0x00,0x00,0x00]51// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU52 53v_rcp_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0]54// GFX1250: v_rcp_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0xf2,0x0a,0x7e,0x01,0x77,0x39,0x05]55// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU56 57v_rcp_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:158// GFX1250: v_rcp_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0xf2,0x0a,0x7e,0x01,0x77,0x39,0x05]59// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU60 61v_rcp_bf16 v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:062// GFX1250: v_rcp_bf16_dpp v127, v127 dpp8:[0,0,0,0,0,0,0,0] ; encoding: [0xe9,0xf2,0xfe,0x7e,0x7f,0x00,0x00,0x00]63// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU64 65v_sqrt_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0]66// GFX1250: v_sqrt_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0xf4,0x0a,0x7e,0x01,0x77,0x39,0x05]67// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU68 69v_sqrt_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:170// GFX1250: v_sqrt_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0xf4,0x0a,0x7e,0x01,0x77,0x39,0x05]71// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU72 73v_sqrt_bf16 v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:074// GFX1250: v_sqrt_bf16_dpp v127, v127 dpp8:[0,0,0,0,0,0,0,0] ; encoding: [0xe9,0xf4,0xfe,0x7e,0x7f,0x00,0x00,0x00]75// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU76 77v_rsq_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0]78// GFX1250: v_rsq_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0xf6,0x0a,0x7e,0x01,0x77,0x39,0x05]79// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU80 81v_rsq_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:182// GFX1250: v_rsq_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0xf6,0x0a,0x7e,0x01,0x77,0x39,0x05]83// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU84 85v_rsq_bf16 v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:086// GFX1250: v_rsq_bf16_dpp v127, v127 dpp8:[0,0,0,0,0,0,0,0] ; encoding: [0xe9,0xf6,0xfe,0x7e,0x7f,0x00,0x00,0x00]87// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU88 89v_log_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0]90// GFX1250: v_log_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0xf8,0x0a,0x7e,0x01,0x77,0x39,0x05]91// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU92 93v_log_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:194// GFX1250: v_log_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0xf8,0x0a,0x7e,0x01,0x77,0x39,0x05]95// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU96 97v_log_bf16 v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:098// GFX1250: v_log_bf16_dpp v127, v127 dpp8:[0,0,0,0,0,0,0,0] ; encoding: [0xe9,0xf8,0xfe,0x7e,0x7f,0x00,0x00,0x00]99// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU100 101v_exp_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0]102// GFX1250: v_exp_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0xfa,0x0a,0x7e,0x01,0x77,0x39,0x05]103// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU104 105v_exp_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1106// GFX1250: v_exp_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0xfa,0x0a,0x7e,0x01,0x77,0x39,0x05]107// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU108 109v_exp_bf16 v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:0110// GFX1250: v_exp_bf16_dpp v127, v127 dpp8:[0,0,0,0,0,0,0,0] ; encoding: [0xe9,0xfa,0xfe,0x7e,0x7f,0x00,0x00,0x00]111// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU112 113v_sin_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0]114// GFX1250: v_sin_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0xfc,0x0a,0x7e,0x01,0x77,0x39,0x05]115// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU116 117v_sin_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1118// GFX1250: v_sin_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0xfc,0x0a,0x7e,0x01,0x77,0x39,0x05]119// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU120 121v_sin_bf16 v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:0122// GFX1250: v_sin_bf16_dpp v127, v127 dpp8:[0,0,0,0,0,0,0,0] ; encoding: [0xe9,0xfc,0xfe,0x7e,0x7f,0x00,0x00,0x00]123// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU124 125v_cos_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0]126// GFX1250: v_cos_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0xfe,0x0a,0x7e,0x01,0x77,0x39,0x05]127// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU128 129v_cos_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1130// GFX1250: v_cos_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0xfe,0x0a,0x7e,0x01,0x77,0x39,0x05]131// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU132 133v_cos_bf16 v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:0134// GFX1250: v_cos_bf16_dpp v127, v127 dpp8:[0,0,0,0,0,0,0,0] ; encoding: [0xe9,0xfe,0xfe,0x7e,0x7f,0x00,0x00,0x00]135// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU136 137v_cvt_f32_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0]138// GFX1250: v_cvt_f32_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0xe4,0x0a,0x7e,0x01,0x77,0x39,0x05]139// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU140 141v_cvt_f32_bf16 v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1142// GFX1250: v_cvt_f32_bf16_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0xe4,0x0a,0x7e,0x01,0x77,0x39,0x05]143// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU144 145v_cvt_f32_bf16 v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:0146// GFX1250: v_cvt_f32_bf16_dpp v127, v127 dpp8:[0,0,0,0,0,0,0,0] ; encoding: [0xe9,0xe4,0xfe,0x7e,0x7f,0x00,0x00,0x00]147// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU148 149v_cvt_f16_bf8 v1, v2 dpp8:[7,6,5,4,3,2,1,0]150// GFX1250: v_cvt_f16_bf8_dpp v1, v2 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0xf0,0x02,0x7e,0x02,0x77,0x39,0x05]151// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU152 153v_cvt_f16_bf8 v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1154// GFX1250: v_cvt_f16_bf8_dpp v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0xf0,0x02,0x7e,0x02,0x77,0x39,0x05]155// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU156 157v_cvt_f16_fp8 v1, v2 dpp8:[7,6,5,4,3,2,1,0]158// GFX1250: v_cvt_f16_fp8_dpp v1, v2 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0xee,0x02,0x7e,0x02,0x77,0x39,0x05]159// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU160 161v_cvt_f16_fp8 v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1162// GFX1250: v_cvt_f16_fp8_dpp v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0xee,0x02,0x7e,0x02,0x77,0x39,0x05]163// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU164 165v_cvt_pk_f16_bf8 v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1166// GFX1250: v_cvt_pk_f16_bf8_dpp v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0xec,0x02,0x7e,0x02,0x77,0x39,0x05]167// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU168 169v_cvt_pk_f16_fp8 v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1170// GFX1250: v_cvt_pk_f16_fp8_dpp v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0xea,0x02,0x7e,0x02,0x77,0x39,0x05]171// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU172 173v_sat_pk4_i4_i8 v1, v2 dpp8:[7,6,5,4,3,2,1,0]174// GFX1250: v_sat_pk4_i4_i8_dpp v1, v2 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0xe6,0x02,0x7e,0x02,0x77,0x39,0x05]175// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU176 177v_sat_pk4_i4_i8 v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1178// GFX1250: v_sat_pk4_i4_i8_dpp v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0xe6,0x02,0x7e,0x02,0x77,0x39,0x05]179// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU180 181v_sat_pk4_u4_u8 v1, v2 dpp8:[7,6,5,4,3,2,1,0]182// GFX1250: v_sat_pk4_u4_u8_dpp v1, v2 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0xe8,0x02,0x7e,0x02,0x77,0x39,0x05]183// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU184 185v_sat_pk4_u4_u8 v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1186// GFX1250: v_sat_pk4_u4_u8_dpp v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0xe8,0x02,0x7e,0x02,0x77,0x39,0x05]187// GFX12-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU188