Developer Guide and Reference


Constructors and Initialization

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

Constructors and Initialization for Fvec Classes

Constructor Declaration
F64vec2 A;
F32vec4 B;
F32vec1 C;
__m128 Object Initialization
F64vec2 A(__m128d mm);
F32vec4 B(__m128 mm);
F32vec1 C(__m128 mm);
Double Initialization
/* Initializes two doubles. */
F64vec2 A(double d0, double d1);
F64vec2 A = F64vec2(double d0, double d1);
A0 := d0;
A1 := d1;
F64vec2 A(double d0);
/* Initializes both return values
with the same double precision value */.
A0 := d0;
A1 := d0;
Float Initialization
F32vec4 A(float f3, float f2,
float f1, float f0);
F32vec4 A = F32vec4(float f3, float f2,
float f1, float f0);
A0 := f0;
A1 := f1;
A2 := f2;
A3 := f3;
F32vec4 A(float f0);
/* Initializes all return values
with the same floating point value. */
A0 := f0;
A1 := f0;
A2 := f0;
A3 := f0;
F32vec4 A(double d0);
/* Initialize all return values with
the same double-precision value. */
A0 := d0;
A1 := d0;
A2 := d0;
A3 := d0;
F32vec1 A(double d0);
/* Initializes the lowest value of A
with d0 and the other values with 0.*/
A0 := d0;
A1 := 0;
A2 := 0;
A3 := 0;
F32vec1 B(float f0);
/* Initializes the lowest value of B
with f0 and the other values with 0.*/
B0 := f0;
B1 := 0;
B2 := 0;
B3 := 0;
F32vec1 B(int I);
/* Initializes the lowest value of B
with f0, other values are undefined.*/
B0 := f0;
B1 := {}
B2 := {}
B3 := {}

Product and Performance Information


Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804