VEXPANDPS—Load Sparse Packed Single-Precision Floating-Point Values from Dense MemoryInstruction Operand EncodingDescription Expand (load) up to 16/8/4, contiguous, single-precision floating-point values of the input vector in the source operand (the second operand) to sparse elements of the destination operand (the first operand) selected by the writemask k1. The destination operand is a ZMM/YMM/XMM register, the source operand can be a ZMM/YMM/XMM register or a 512/256/128-bit memory location.The input vector starts from the lowest element in the source operand. The writemask k1 selects the destination elements (a partial vector or sparse elements if less than 16 elements) to be replaced by the ascending elements in the input vector. Destination elements not selected by the writemask k1 are either unmodified or zeroed, depending on EVEX.z.EVEX.vvvv is reserved and must be 1111b otherwise instructions will #UD.Note that the compressed displacement assumes a pre-scaling (N) corresponding to the size of one single element instead of the size of the full vector.OperationVEXPANDPS (EVEX encoded versions) (KL, VL) = (4, 128), (8, 256), (16, 512)k := 0FOR j := 0 TO KL-1i := j * 32IF k1[j] OR *no writemask*THEN DEST[i+31:i] := SRC[k+31:k];k := k + 32ELSE IF *merging-masking*; merging-maskingTHEN *DEST[i+31:i] remains unchanged*ELSE ; zeroing-maskingDEST[i+31:i] := 0FIFI;ENDFORDEST[MAXVL-1:VL] := 0Opcode/InstructionOp / En64/32 bit Mode SupportCPUID Feature FlagDescriptionEVEX.128.66.0F38.W0 88 /rVEXPANDPS xmm1 {k1}{z}, xmm2/m128AV/VAVX512VLAVX512FExpand packed single-precision floating-point values from xmm2/m128 to xmm1 using writemask k1.EVEX.256.66.0F38.W0 88 /rVEXPANDPS ymm1 {k1}{z}, ymm2/m256AV/VAVX512VLAVX512FExpand packed single-precision floating-point values from ymm2/m256 to ymm1 using writemask k1.EVEX.512.66.0F38.W0 88 /rVEXPANDPS zmm1 {k1}{z}, zmm2/m512AV/VAVX512FExpand packed single-precision floating-point values from zmm2/m512 to zmm1 using writemask k1.Op/EnTuple TypeOperand 1Operand 2Operand 3Operand 4ATuple1 ScalarModRM:reg (w)ModRM:r/m (r)NANA
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.