Developer Guide and Reference

Contents

Constructors and Initialization

The following table shows how to create and initialize F32vec objects with the Fvec classes.

Constructors and Initialization for Fvec Classes

Example
Intrinsic
Returns
Constructor Declaration
F64vec2 A;
F32vec4 B;
F32vec1 C;
N/A
N/A
__m128 Object Initialization
F64vec2 A(__m128d mm);
F32vec4 B(__m128 mm);
F32vec1 C(__m128 mm);
N/A
N/A
Double Initialization
/* Initializes two doubles. */
F64vec2 A(double d0, double d1);
F64vec2 A = F64vec2(double d0, double d1);
_mm_set_pd
A0 := d0;
A1 := d1;