VREDUCEPS—Perform Reduction Transformation on Packed Float32 ValuesInstruction Operand EncodingDescriptionPerform reduction transformation of the packed binary encoded single-precision FP values in the source operand (the second operand) and store the reduced results in binary FP format to the destination operand (the first operand) under the writemask k1. The reduction transformation subtracts the integer part and the leading M fractional bits from the binary FP source value, where M is a unsigned integer specified by imm8[7:4], see Figure5-28. Specifically, the reduction transfor-mation can be expressed as:dest = src – (ROUND(2M*src))*2-M;where “Round()” treats “src”, “2M”, and their product as binary FP numbers with normalized significand and bi-ased exponents.The magnitude of the reduced result can be expressed by considering src= 2p*man2,where ‘man2’ is the normalized significand and ‘p’ is the unbiased exponent Then if RC = RNE: 0<=|Reduced Result|<=2p-M-1Then if RC ≠ RNE: 0<=|Reduced Result|<2p-MThis instruction might end up with a precision exception set. However, in case of SPE set (i.e. Suppress Precision Exception, which is imm8[3]=1), no precision exception is reported.EVEX.vvvv is reserved and must be 1111b otherwise instructions will #UD.Handling of special case of input values are listed in Table 5-15.Opcode/InstructionOp / En64/32 bit Mode SupportCPUID Feature FlagDescriptionEVEX.128.66.0F3A.W0 56 /r ibVREDUCEPS xmm1 {k1}{z}, xmm2/m128/m32bcst, imm8AV/VAVX512VLAVX512DQPerform reduction transformation on packed single-precision floating point values in xmm2/m128/m32bcst by subtracting a number of fraction bits specified by the imm8 field. Stores the result in xmm1 register under writemask k1.EVEX.256.66.0F3A.W0 56 /r ibVREDUCEPS ymm1 {k1}{z}, ymm2/m256/m32bcst, imm8AV/VAVX512VLAVX512DQPerform reduction transformation on packed single-precision floating point values in ymm2/m256/m32bcst by subtracting a number of fraction bits specified by the imm8 field. Stores the result in ymm1 register under writemask k1.EVEX.512.66.0F3A.W0 56 /r ibVREDUCEPS zmm1 {k1}{z}, zmm2/m512/m32bcst{sae}, imm8AV/VAVX512DQPerform reduction transformation on packed single-precision floating point values in zmm2/m512/m32bcst by subtracting a number of fraction bits specified by the imm8 field. Stores the result in zmm1 register under writemask k1.Op/EnTuple TypeOperand 1Operand 2Operand 3Operand 4AFullModRM:reg (w)ModRM:r/m (r)Imm8NA
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.