PintS
0.1
Portable Intrinsics for SIMD
|
Functions | |
m1d | m1d_cast_v1d (v1d a) |
Casts a v1d vector into a m1d vector-mask. More... | |
m1f | m1f_cast_v1f (v1f a) |
Casts a v1f vector into a m1f vector-mask. More... | |
m1i | m1i_cast_v1i (v1i a) |
Casts a v1i vector into a m1i vector-mask. More... | |
m1l | m1l_cast_v1l (v1l a) |
Casts a v1l vector into a m1l vector-mask. More... | |
m2d | m2d_cast_v2d (v2d a) |
Casts a v2d vector into a m2d vector-mask. More... | |
m2f | m2f_cast_v2f (v2f a) |
Casts a v2f vector into a m2f vector-mask. More... | |
m2i | m2i_cast_v2i (v2i a) |
Casts a v2i vector into a m2i vector-mask. More... | |
m2l | m2l_cast_v2l (v2l a) |
Casts a v2l vector into a m2l vector-mask. More... | |
m4d | m4d_cast_v4d (v4d a) |
Casts a v4d vector into a m4d vector-mask. More... | |
m4f | m4f_cast_v4f (v4f a) |
Casts a v4f vector into a m4f vector-mask. More... | |
m4i | m4i_cast_v4i (v4i a) |
Casts a v4i vector into a m4i vector-mask. More... | |
m4l | m4l_cast_v4l (v4l a) |
Casts a v4l vector into a m4l vector-mask. More... | |
m8d | m8d_cast_v8d (v8d a) |
Casts a v8d vector into a m8d vector-mask. More... | |
m8f | m8f_cast_v8f (v8f a) |
Casts a v8f vector into a m8f vector-mask. More... | |
m8i | m8i_cast_v8i (v8i a) |
Casts a v8i vector into a m8i vector-mask. More... | |
m8l | m8l_cast_v8l (v8l a) |
Casts a v8l vector into a m8l vector-mask. More... | |
m16f | m16f_cast_v16f (v16f a) |
Casts a v16f vector into a m16f vector-mask. More... | |
m16i | m16i_cast_v16i (v16i a) |
Casts a v16i vector into a m16i vector-mask. More... | |
v1d | v1d_cast_m1d (m1d a) |
Casts a m1d vector-mask into a v1d vector. More... | |
v1f | v1f_cast_m1f (m1f a) |
Casts a m1f vector-mask into a v1f vector. More... | |
v1i | v1i_cast_m1i (m1i a) |
Casts a m1i vector-mask into a v1i vector. More... | |
v1l | v1l_cast_m1l (m1l a) |
Casts a m1l vector-mask into a v1l vector. More... | |
v2d | v2d_cast_m2d (m2d a) |
Casts a m2d vector-mask into a v2d vector. More... | |
v2f | v2f_cast_m2f (m2f a) |
Casts a m2f vector-mask into a v2f vector. More... | |
v2i | v2i_cast_m2i (m2i a) |
Casts a m2i vector-mask into a v2i vector. More... | |
v2l | v2l_cast_m2l (m2l a) |
Casts a m2l vector-mask into a v2l vector. More... | |
v4d | v4d_cast_m4d (m4d a) |
Casts a m4d vector-mask into a v4d vector. More... | |
v4f | v4f_cast_m4f (m4f a) |
Casts a m4f vector-mask into a v4f vector. More... | |
v4i | v4i_cast_m4i (m4i a) |
Casts a m4i vector-mask into a v4i vector. More... | |
v4l | v4l_cast_m4l (m4l a) |
Casts a m4l vector-mask into a v4l vector. More... | |
v8d | v8d_cast_m8d (m8d a) |
Casts a m8d vector-mask into a v8d vector. More... | |
v8f | v8f_cast_m8f (m8f a) |
Casts a m8f vector-mask into a v8f vector. More... | |
v8i | v8i_cast_m8i (m8i a) |
Casts a m8i vector-mask into a v8i vector. More... | |
v8l | v8l_cast_m8l (m8l a) |
Casts a m8l vector-mask into a v8l vector. More... | |
v16f | v16f_cast_m16f (m16f a) |
Casts a m16f vector-mask into a v16f vector. More... | |
v16i | v16i_cast_m16i (m16i a) |
Casts a m16i vector-mask into a v16i vector. More... | |
Functions for casting vectors into or from mask-vectors
Casts a v1d
vector into a m1d
vector-mask.
May be faster than m1d_cvt_v1d(v1d a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFFFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v1d
vec:
v1d_and(a, vec)
v1d_mask_move
(m1d_cast_v1d(a), vec)
a | the vector to cast |
Casts a v1f
vector into a m1f
vector-mask.
May be faster than m1f_cvt_v1f(v1f a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v1f
vec:
v1f_and(a, vec)
v1f_mask_move
(m1f_cast_v1f(a), vec)
a | the vector to cast |
Casts a v1i
vector into a m1i
vector-mask.
May be faster than m1i_cvt_v1i(v1i a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v1i
vec:
v1i_and(a, vec)
v1i_mask_move
(m1i_cast_v1i(a), vec)
a | the vector to cast |
Casts a v1l
vector into a m1l
vector-mask.
May be faster than m1l_cvt_v1l(v1l a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFFFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v1l
vec:
v1l_and(a, vec)
v1l_mask_move
(m1l_cast_v1l(a), vec)
a | the vector to cast |
Casts a v2d
vector into a m2d
vector-mask.
May be faster than m2d_cvt_v2d(v2d a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFFFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v2d
vec:
v2d_and(a, vec)
v2d_mask_move
(m2d_cast_v2d(a), vec)
a | the vector to cast |
Casts a v2f
vector into a m2f
vector-mask.
May be faster than m2f_cvt_v2f(v2f a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v2f
vec:
v2f_and(a, vec)
v2f_mask_move
(m2f_cast_v2f(a), vec)
a | the vector to cast |
Casts a v2i
vector into a m2i
vector-mask.
May be faster than m2i_cvt_v2i(v2i a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v2i
vec:
v2i_and(a, vec)
v2i_mask_move
(m2i_cast_v2i(a), vec)
a | the vector to cast |
Casts a v2l
vector into a m2l
vector-mask.
May be faster than m2l_cvt_v2l(v2l a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFFFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v2l
vec:
v2l_and(a, vec)
v2l_mask_move
(m2l_cast_v2l(a), vec)
a | the vector to cast |
Casts a v4d
vector into a m4d
vector-mask.
May be faster than m4d_cvt_v4d(v4d a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFFFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v4d
vec:
v4d_and(a, vec)
v4d_mask_move
(m4d_cast_v4d(a), vec)
a | the vector to cast |
Casts a v4f
vector into a m4f
vector-mask.
May be faster than m4f_cvt_v4f(v4f a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v4f
vec:
v4f_and(a, vec)
v4f_mask_move
(m4f_cast_v4f(a), vec)
a | the vector to cast |
Casts a v4i
vector into a m4i
vector-mask.
May be faster than m4i_cvt_v4i(v4i a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v4i
vec:
v4i_and(a, vec)
v4i_mask_move
(m4i_cast_v4i(a), vec)
a | the vector to cast |
Casts a v4l
vector into a m4l
vector-mask.
May be faster than m4l_cvt_v4l(v4l a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFFFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v4l
vec:
v4l_and(a, vec)
v4l_mask_move
(m4l_cast_v4l(a), vec)
a | the vector to cast |
Casts a v8d
vector into a m8d
vector-mask.
May be faster than m8d_cvt_v8d(v8d a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFFFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v8d
vec:
v8d_and(a, vec)
v8d_mask_move
(m8d_cast_v8d(a), vec)
a | the vector to cast |
Casts a v8f
vector into a m8f
vector-mask.
May be faster than m8f_cvt_v8f(v8f a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v8f
vec:
v8f_and(a, vec)
v8f_mask_move
(m8f_cast_v8f(a), vec)
a | the vector to cast |
Casts a v8i
vector into a m8i
vector-mask.
May be faster than m8i_cvt_v8i(v8i a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v8i
vec:
v8i_and(a, vec)
v8i_mask_move
(m8i_cast_v8i(a), vec)
a | the vector to cast |
Casts a v8l
vector into a m8l
vector-mask.
May be faster than m8l_cvt_v8l(v8l a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFFFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v8l
vec:
v8l_and(a, vec)
v8l_mask_move
(m8l_cast_v8l(a), vec)
a | the vector to cast |
Casts a v16f
vector into a m16f
vector-mask.
May be faster than m16f_cvt_v16f(v16f a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v16f
vec:
v16f_and(a, vec)
v16f_mask_move
(m16f_cast_v16f(a), vec)
a | the vector to cast |
Casts a v16i
vector into a m16i
vector-mask.
May be faster than m16i_cvt_v16i(v16i a) if a
can act as a mask (ie: every elements are either 0 or 0xFFFFFFFF). Undefined behaviors otherwise.
If a
can act as a mask, the following statements are equivalent for every vector v16i
vec:
v16i_and(a, vec)
v16i_mask_move
(m16i_cast_v16i(a), vec)
a | the vector to cast |
Casts a m1d
vector-mask into a v1d
vector.
May be faster than m1d_cvt_v1d(v1d a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v1d
vec:
v1d_and
(v1d_cast_m1d(a), vec)
v1d_mask_move(a, vec)
a | the vector-mask to cast |
Casts a m1f
vector-mask into a v1f
vector.
May be faster than m1f_cvt_v1f(v1f a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v1f
vec:
v1f_and
(v1f_cast_m1f(a), vec)
v1f_mask_move(a, vec)
a | the vector-mask to cast |
Casts a m1i
vector-mask into a v1i
vector.
May be faster than m1i_cvt_v1i(v1i a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v1i
vec:
v1i_and
(v1i_cast_m1i(a), vec)
v1i_mask_move(a, vec)
a | the vector-mask to cast |
Casts a m1l
vector-mask into a v1l
vector.
May be faster than m1l_cvt_v1l(v1l a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v1l
vec:
v1l_and
(v1l_cast_m1l(a), vec)
v1l_mask_move(a, vec)
a | the vector-mask to cast |
Casts a m2d
vector-mask into a v2d
vector.
May be faster than m2d_cvt_v2d(v2d a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v2d
vec:
v2d_and
(v2d_cast_m2d(a), vec)
v2d_mask_move(a, vec)
a | the vector-mask to cast |
Casts a m2f
vector-mask into a v2f
vector.
May be faster than m2f_cvt_v2f(v2f a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v2f
vec:
v2f_and
(v2f_cast_m2f(a), vec)
v2f_mask_move(a, vec)
a | the vector-mask to cast |
Casts a m2i
vector-mask into a v2i
vector.
May be faster than m2i_cvt_v2i(v2i a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v2i
vec:
v2i_and
(v2i_cast_m2i(a), vec)
v2i_mask_move(a, vec)
a | the vector-mask to cast |
Casts a m2l
vector-mask into a v2l
vector.
May be faster than m2l_cvt_v2l(v2l a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v2l
vec:
v2l_and
(v2l_cast_m2l(a), vec)
v2l_mask_move(a, vec)
a | the vector-mask to cast |
Casts a m4d
vector-mask into a v4d
vector.
May be faster than m4d_cvt_v4d(v4d a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v4d
vec:
v4d_and
(v4d_cast_m4d(a), vec)
v4d_mask_move(a, vec)
a | the vector-mask to cast |
Casts a m4f
vector-mask into a v4f
vector.
May be faster than m4f_cvt_v4f(v4f a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v4f
vec:
v4f_and
(v4f_cast_m4f(a), vec)
v4f_mask_move(a, vec)
a | the vector-mask to cast |
Casts a m4i
vector-mask into a v4i
vector.
May be faster than m4i_cvt_v4i(v4i a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v4i
vec:
v4i_and
(v4i_cast_m4i(a), vec)
v4i_mask_move(a, vec)
a | the vector-mask to cast |
Casts a m4l
vector-mask into a v4l
vector.
May be faster than m4l_cvt_v4l(v4l a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v4l
vec:
v4l_and
(v4l_cast_m4l(a), vec)
v4l_mask_move(a, vec)
a | the vector-mask to cast |
Casts a m8d
vector-mask into a v8d
vector.
May be faster than m8d_cvt_v8d(v8d a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v8d
vec:
v8d_and
(v8d_cast_m8d(a), vec)
v8d_mask_move(a, vec)
a | the vector-mask to cast |
Casts a m8f
vector-mask into a v8f
vector.
May be faster than m8f_cvt_v8f(v8f a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v8f
vec:
v8f_and
(v8f_cast_m8f(a), vec)
v8f_mask_move(a, vec)
a | the vector-mask to cast |
Casts a m8i
vector-mask into a v8i
vector.
May be faster than m8i_cvt_v8i(v8i a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v8i
vec:
v8i_and
(v8i_cast_m8i(a), vec)
v8i_mask_move(a, vec)
a | the vector-mask to cast |
Casts a m8l
vector-mask into a v8l
vector.
May be faster than m8l_cvt_v8l(v8l a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v8l
vec:
v8l_and
(v8l_cast_m8l(a), vec)
v8l_mask_move(a, vec)
a | the vector-mask to cast |
Casts a m16f
vector-mask into a v16f
vector.
May be faster than m16f_cvt_v16f(v16f a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v16f
vec:
v16f_and
(v16f_cast_m16f(a), vec)
v16f_mask_move(a, vec)
a | the vector-mask to cast |
Casts a m16i
vector-mask into a v16i
vector.
May be faster than m16i_cvt_v16i(v16i a). Undefined behaviors when the mask is not set properly (undefined).
The following statements are equivalent for every vector v16i
vec:
v16i_and
(v16i_cast_m16i(a), vec)
v16i_mask_move(a, vec)
a | the vector-mask to cast |