Visible to Intel only — GUID: GUID-BF4F2175-056F-4F01-B797-3F2688AEE700
Visible to Intel only — GUID: GUID-BF4F2175-056F-4F01-B797-3F2688AEE700
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; |
N/A |
N/A |
__m128 Object Initialization | ||
F64vec2 A(__m128d mm); |
N/A |
N/A |
Double Initialization | ||
/* Initializes two doubles. */ |
_mm_set_pd |
A0 := d0; |
F64vec2 A(double d0); |
_mm_set1_pd |
A0 := d0; |
Float Initialization | ||
F32vec4 A(float f3, float f2, |
_mm_set_ps |
A0 := f0; |
F32vec4 A(float f0); |
_mm_set1_ps |
A0 := f0; |
F32vec4 A(double d0); |
_mm_set1_ps(d) |
A0 := d0; |
F32vec1 A(double d0); |
_mm_set_ss(d) |
A0 := d0; |
F32vec1 B(float f0); |
_mm_set_ss |
B0 := f0; |
F32vec1 B(int I); |
_mm_cvtsi32_ss |
B0 := f0; |