vec_msub

Purpose

Returns a vector containing the results of performing a multiply-substract operation using the given vectors.

This function requires the POWER7 architecture.

Syntax

d=vec_msub(a, b, c)

Result and argument types

The following table describes the types of the returned value and the function arguments.

d a b c
vector float vector float vector float vector float
vector double vector double vector double vector double

Result value

This function multiplies each element in a by the corresponding element in b and then substracts the corresponding element in c from the result.