ica_mp_mul512

Purpose

Computes the 1024-bit product r of the 512-bit factors a and b, that is r = ab.

Format


int ica_mp_mul512(uint64_t r[16], 
  const uint64_t a[8], 
  const uint64_t b[8]);

Required hardware support

All vector instructions required for using this function are only available in the instruction set starting with IBM z14® machines.

Parameters

uint64_t r[16]
Pointer to the 1024-bit product resulting from factors a[8] and b[8].
const uint64_t a[8]
Pointer to the first 512-bit factor.
const uint64_t b[8]
Pointer to the second 512-bit factor.

Return codes

0
Success
≠ 0
Vector facilities are not enabled.

For return codes indicating exceptions, see Return codes.