Intel® C++ Compiler 16.0 User and Reference Guide

_mm512_reduce_mul_pd/_mm512_mask_reduce_mul_pd

Returns a float64 scalar value of a multiplication operation. There is no corresponding instruction. This intrinsic only applies to Intel® Many Integrated Core Architecture (Intel® MIC Architecture).

Syntax

Without Mask

extern double __cdecl _mm512_reduce_mul_pd(_m512d v2);

With Mask

extern double __cdecl _mm512_mask_reduce_mul_pd(__mmask8 k1, _m512d v2);

Parameters

v2

float64 vector used for the multiplication operation

k1

Writemask; only those elements of the source vectors with corresponding bit set to '1' in the k1 mask are computed and stored in the result

Description

Multiplies all the elements of the float64 vector v2 and returns a scalar value. The multiplication operation is illustrated as follows:

v[0] x v[1] x v[2] x ...x v[n] = scalar value

The masked variant has one additional argument: k1. Only those elements in the source registers with the corresponding bit set in vector mask k1 are used for computing. Elements in v2 with corresponding bit clear in k1 are copied as is to the resulting vector.

Returns

Returns the scalar value of the multiplication operation.