VCVTNE2PS2BF16—Convert Two Packed Single Data to One Packed BF16 DataInstruction Operand EncodingDescriptionConverts two SIMD registers of packed single data into a single register of packed BF16 data.This instruction does not support memory fault suppression.This instruction uses “Round to nearest (even)” rounding mode. Output denormals are always flushed to zero and input denormals are always treated as zero. MXCSR is not consulted nor updated. No floating-point exceptions are generated.OperationVCVTNE2PS2BF16 dest, src1, src2VL = (128, 256, 512)KL = VL/16origdest := destFOR i := 0 to KL-1:IF k1[ i ] or *no writemask*:IF i < KL/2:IF src2 is memory and evex.b == 1:t :=src2.fp32[0]ELSE:t :=src2.fp32[ i ]ELSE:t :=src1.fp32[ i-KL/2]// See VCVTNEPS2BF16 for definition of convert helper function dest.word[i] :=convert_fp32_to_bfloat16(t)ELSE IF *zeroing*:dest.word[ i ] :=0ELSE: // Merge masking, dest element unchangeddest.word[ i ] :=origdest.word[ i ]DEST[MAXVL-1:VL] :=0Opcode/InstructionOp/En64/32 bit Mode SupportCPUID Feature FlagDescriptionEVEX.128.F2.0F38.W0 72 /rVCVTNE2PS2BF16 xmm1{k1}{z}, xmm2, xmm3/m128/m32bcstAV/VAVX512VLAVX512_BF16Convert packed single data from xmm2 and xmm3/m128/m32bcst to packed BF16 data in xmm1 with writemask k1.EVEX.256.F2.0F38.W0 72 /rVCVTNE2PS2BF16 ymm1{k1}{z}, ymm2, ymm3/m256/m32bcstAV/VAVX512VLAVX512_BF16Convert packed single data from ymm2 and ymm3/m256/m32bcst to packed BF16 data in ymm1 with writemask k1.EVEX.512.F2.0F38.W0 72 /rVCVTNE2PS2BF16 zmm1{k1}{z}, zmm2, zmm3/m512/m32bcstAV/VAVX512FAVX512_BF16Convert packed single data from zmm2 and zmm3/m512/m32bcst to packed BF16 data in zmm1 with writemask k1.Op/EnTupleOperand 1Operand 2Operand 3Operand 4AFullModRM:reg (w)EVEX.vvvv (r)ModRM:r/m (r)NA
This UNOFFICIAL reference was generated from the official Intel® 64 and IA-32 Architectures Software Developer’s Manual by a dumb script. There is no guarantee that some parts aren't mangled or broken and is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.