PintS  0.1
Portable Intrinsics for SIMD
 All Data Structures Files Functions Groups
Functions
mask conversion functions

Functions

m1d m1d_cvt_v1d (v1d a)
 Converts a v1d vector into a m1d vector-mask. More...
 
m1f m1f_cvt_v1f (v1f a)
 Converts a v1f vector into a m1f vector-mask. More...
 
m1i m1i_cvt_v1i (v1i a)
 Converts a v1i vector into a m1i vector-mask. More...
 
m1l m1l_cvt_v1l (v1l a)
 Converts a v1l vector into a m1l vector-mask. More...
 
m2d m2d_cvt_v2d (v2d a)
 Converts a v2d vector into a m2d vector-mask. More...
 
m2f m2f_cvt_v2f (v2f a)
 Converts a v2f vector into a m2f vector-mask. More...
 
m2i m2i_cvt_v2i (v2i a)
 Converts a v2i vector into a m2i vector-mask. More...
 
m2l m2l_cvt_v2l (v2l a)
 Converts a v2l vector into a m2l vector-mask. More...
 
m4d m4d_cvt_v4d (v4d a)
 Converts a v4d vector into a m4d vector-mask. More...
 
m4f m4f_cvt_v4f (v4f a)
 Converts a v4f vector into a m4f vector-mask. More...
 
m4i m4i_cvt_v4i (v4i a)
 Converts a v4i vector into a m4i vector-mask. More...
 
m4l m4l_cvt_v4l (v4l a)
 Converts a v4l vector into a m4l vector-mask. More...
 
m8d m8d_cvt_v8d (v8d a)
 Converts a v8d vector into a m8d vector-mask. More...
 
m8f m8f_cvt_v8f (v8f a)
 Converts a v8f vector into a m8f vector-mask. More...
 
m8i m8i_cvt_v8i (v8i a)
 Converts a v8i vector into a m8i vector-mask. More...
 
m8l m8l_cvt_v8l (v8l a)
 Converts a v8l vector into a m8l vector-mask. More...
 
m16f m16f_cvt_v16f (v16f a)
 Converts a v16f vector into a m16f vector-mask. More...
 
m16i m16i_cvt_v16i (v16i a)
 Converts a v16i vector into a m16i vector-mask. More...
 
v1d v1d_cvt_m1d (m1d a)
 Converts a m1d vector-mask into a v1d vector. More...
 
v1f v1f_cvt_m1f (m1f a)
 Converts a m1f vector-mask into a v1f vector. More...
 
v1i v1i_cvt_m1i (m1i a)
 Converts a m1i vector-mask into a v1i vector. More...
 
v1l v1l_cvt_m1l (m1l a)
 Converts a m1l vector-mask into a v1l vector. More...
 
v2d v2d_cvt_m2d (m2d a)
 Converts a m2d vector-mask into a v2d vector. More...
 
v2f v2f_cvt_m2f (m2f a)
 Converts a m2f vector-mask into a v2f vector. More...
 
v2i v2i_cvt_m2i (m2i a)
 Converts a m2i vector-mask into a v2i vector. More...
 
v2l v2l_cvt_m2l (m2l a)
 Converts a m2l vector-mask into a v2l vector. More...
 
v4d v4d_cvt_m4d (m4d a)
 Converts a m4d vector-mask into a v4d vector. More...
 
v4f v4f_cvt_m4f (m4f a)
 Converts a m4f vector-mask into a v4f vector. More...
 
v4i v4i_cvt_m4i (m4i a)
 Converts a m4i vector-mask into a v4i vector. More...
 
v4l v4l_cvt_m4l (m4l a)
 Converts a m4l vector-mask into a v4l vector. More...
 
v8d v8d_cvt_m8d (m8d a)
 Converts a m8d vector-mask into a v8d vector. More...
 
v8f v8f_cvt_m8f (m8f a)
 Converts a m8f vector-mask into a v8f vector. More...
 
v8i v8i_cvt_m8i (m8i a)
 Converts a m8i vector-mask into a v8i vector. More...
 
v8l v8l_cvt_m8l (m8l a)
 Converts a m8l vector-mask into a v8l vector. More...
 
v16f v16f_cvt_m16f (m16f a)
 Converts a m16f vector-mask into a v16f vector. More...
 
v16i v16i_cvt_m16i (m16i a)
 Converts a m16i vector-mask into a v16i vector. More...
 
m1d m1d_cvt_m1d (m1d a)
 Converts a m1d vector-mask into a m1d vector-mask. More...
 
m1f m1f_cvt_m1d (m1d a)
 Converts a m1d vector-mask into a m1f vector-mask. More...
 
m1i m1i_cvt_m1d (m1d a)
 Converts a m1d vector-mask into a m1i vector-mask. More...
 
m1l m1l_cvt_m1d (m1d a)
 Converts a m1d vector-mask into a m1l vector-mask. More...
 
m2d m2d_cvt_m2d (m2d a)
 Converts a m2d vector-mask into a m2d vector-mask. More...
 
m2f m2f_cvt_m2d (m2d a)
 Converts a m2d vector-mask into a m2f vector-mask. More...
 
m2i m2i_cvt_m2d (m2d a)
 Converts a m2d vector-mask into a m2i vector-mask. More...
 
m2l m2l_cvt_m2d (m2d a)
 Converts a m2d vector-mask into a m2l vector-mask. More...
 
m4d m4d_cvt_m4d (m4d a)
 Converts a m4d vector-mask into a m4d vector-mask. More...
 
m4f m4f_cvt_m4d (m4d a)
 Converts a m4d vector-mask into a m4f vector-mask. More...
 
m4i m4i_cvt_m4d (m4d a)
 Converts a m4d vector-mask into a m4i vector-mask. More...
 
m4l m4l_cvt_m4d (m4d a)
 Converts a m4d vector-mask into a m4l vector-mask. More...
 
m8d m8d_cvt_m8d (m8d a)
 Converts a m8d vector-mask into a m8d vector-mask. More...
 
m8f m8f_cvt_m8d (m8d a)
 Converts a m8d vector-mask into a m8f vector-mask. More...
 
m8i m8i_cvt_m8d (m8d a)
 Converts a m8d vector-mask into a m8i vector-mask. More...
 
m8l m8l_cvt_m8d (m8d a)
 Converts a m8d vector-mask into a m8l vector-mask. More...
 
m1d m1d_cvt_m1f (m1f a)
 Converts a m1f vector-mask into a m1d vector-mask. More...
 
m1f m1f_cvt_m1f (m1f a)
 Converts a m1f vector-mask into a m1f vector-mask. More...
 
m1i m1i_cvt_m1f (m1f a)
 Converts a m1f vector-mask into a m1i vector-mask. More...
 
m1l m1l_cvt_m1f (m1f a)
 Converts a m1f vector-mask into a m1l vector-mask. More...
 
m2d m2d_cvt_m2f (m2f a)
 Converts a m2f vector-mask into a m2d vector-mask. More...
 
m2f m2f_cvt_m2f (m2f a)
 Converts a m2f vector-mask into a m2f vector-mask. More...
 
m2i m2i_cvt_m2f (m2f a)
 Converts a m2f vector-mask into a m2i vector-mask. More...
 
m2l m2l_cvt_m2f (m2f a)
 Converts a m2f vector-mask into a m2l vector-mask. More...
 
m4d m4d_cvt_m4f (m4f a)
 Converts a m4f vector-mask into a m4d vector-mask. More...
 
m4f m4f_cvt_m4f (m4f a)
 Converts a m4f vector-mask into a m4f vector-mask. More...
 
m4i m4i_cvt_m4f (m4f a)
 Converts a m4f vector-mask into a m4i vector-mask. More...
 
m4l m4l_cvt_m4f (m4f a)
 Converts a m4f vector-mask into a m4l vector-mask. More...
 
m8d m8d_cvt_m8f (m8f a)
 Converts a m8f vector-mask into a m8d vector-mask. More...
 
m8f m8f_cvt_m8f (m8f a)
 Converts a m8f vector-mask into a m8f vector-mask. More...
 
m8i m8i_cvt_m8f (m8f a)
 Converts a m8f vector-mask into a m8i vector-mask. More...
 
m8l m8l_cvt_m8f (m8f a)
 Converts a m8f vector-mask into a m8l vector-mask. More...
 
m16f m16f_cvt_m16f (m16f a)
 Converts a m16f vector-mask into a m16f vector-mask. More...
 
m16i m16i_cvt_m16f (m16f a)
 Converts a m16f vector-mask into a m16i vector-mask. More...
 
m1d m1d_cvt_m1i (m1i a)
 Converts a m1i vector-mask into a m1d vector-mask. More...
 
m1f m1f_cvt_m1i (m1i a)
 Converts a m1i vector-mask into a m1f vector-mask. More...
 
m1i m1i_cvt_m1i (m1i a)
 Converts a m1i vector-mask into a m1i vector-mask. More...
 
m1l m1l_cvt_m1i (m1i a)
 Converts a m1i vector-mask into a m1l vector-mask. More...
 
m2d m2d_cvt_m2i (m2i a)
 Converts a m2i vector-mask into a m2d vector-mask. More...
 
m2f m2f_cvt_m2i (m2i a)
 Converts a m2i vector-mask into a m2f vector-mask. More...
 
m2i m2i_cvt_m2i (m2i a)
 Converts a m2i vector-mask into a m2i vector-mask. More...
 
m2l m2l_cvt_m2i (m2i a)
 Converts a m2i vector-mask into a m2l vector-mask. More...
 
m4d m4d_cvt_m4i (m4i a)
 Converts a m4i vector-mask into a m4d vector-mask. More...
 
m4f m4f_cvt_m4i (m4i a)
 Converts a m4i vector-mask into a m4f vector-mask. More...
 
m4i m4i_cvt_m4i (m4i a)
 Converts a m4i vector-mask into a m4i vector-mask. More...
 
m4l m4l_cvt_m4i (m4i a)
 Converts a m4i vector-mask into a m4l vector-mask. More...
 
m8d m8d_cvt_m8i (m8i a)
 Converts a m8i vector-mask into a m8d vector-mask. More...
 
m8f m8f_cvt_m8i (m8i a)
 Converts a m8i vector-mask into a m8f vector-mask. More...
 
m8i m8i_cvt_m8i (m8i a)
 Converts a m8i vector-mask into a m8i vector-mask. More...
 
m8l m8l_cvt_m8i (m8i a)
 Converts a m8i vector-mask into a m8l vector-mask. More...
 
m16f m16f_cvt_m16i (m16i a)
 Converts a m16i vector-mask into a m16f vector-mask. More...
 
m16i m16i_cvt_m16i (m16i a)
 Converts a m16i vector-mask into a m16i vector-mask. More...
 
m1d m1d_cvt_m1l (m1l a)
 Converts a m1l vector-mask into a m1d vector-mask. More...
 
m1f m1f_cvt_m1l (m1l a)
 Converts a m1l vector-mask into a m1f vector-mask. More...
 
m1i m1i_cvt_m1l (m1l a)
 Converts a m1l vector-mask into a m1i vector-mask. More...
 
m1l m1l_cvt_m1l (m1l a)
 Converts a m1l vector-mask into a m1l vector-mask. More...
 
m2d m2d_cvt_m2l (m2l a)
 Converts a m2l vector-mask into a m2d vector-mask. More...
 
m2f m2f_cvt_m2l (m2l a)
 Converts a m2l vector-mask into a m2f vector-mask. More...
 
m2i m2i_cvt_m2l (m2l a)
 Converts a m2l vector-mask into a m2i vector-mask. More...
 
m2l m2l_cvt_m2l (m2l a)
 Converts a m2l vector-mask into a m2l vector-mask. More...
 
m4d m4d_cvt_m4l (m4l a)
 Converts a m4l vector-mask into a m4d vector-mask. More...
 
m4f m4f_cvt_m4l (m4l a)
 Converts a m4l vector-mask into a m4f vector-mask. More...
 
m4i m4i_cvt_m4l (m4l a)
 Converts a m4l vector-mask into a m4i vector-mask. More...
 
m4l m4l_cvt_m4l (m4l a)
 Converts a m4l vector-mask into a m4l vector-mask. More...
 
m8d m8d_cvt_m8l (m8l a)
 Converts a m8l vector-mask into a m8d vector-mask. More...
 
m8f m8f_cvt_m8l (m8l a)
 Converts a m8l vector-mask into a m8f vector-mask. More...
 
m8i m8i_cvt_m8l (m8l a)
 Converts a m8l vector-mask into a m8i vector-mask. More...
 
m8l m8l_cvt_m8l (m8l a)
 Converts a m8l vector-mask into a m8l vector-mask. More...
 

Detailed Description

Functions for converting vectors into and/or from mask-vectors

Function Documentation

m1d m1d_cvt_v1d ( v1d  a)
related

Converts a v1d vector into a m1d vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 0
i := j*64
dst[j] := a.bits[i+63]
endfor
Parameters
athe vector to convert
Returns
vector-mask
m1f m1f_cvt_v1f ( v1f  a)
related

Converts a v1f vector into a m1f vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 0
i := j*32
dst[j] := a.bits[i+31]
endfor
Parameters
athe vector to convert
Returns
vector-mask
m1i m1i_cvt_v1i ( v1i  a)
related

Converts a v1i vector into a m1i vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 0
i := j*32
dst[j] := a.bits[i+31]
endfor
Parameters
athe vector to convert
Returns
vector-mask
m1l m1l_cvt_v1l ( v1l  a)
related

Converts a v1l vector into a m1l vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 0
i := j*64
dst[j] := a.bits[i+63]
endfor
Parameters
athe vector to convert
Returns
vector-mask
m2d m2d_cvt_v2d ( v2d  a)
related

Converts a v2d vector into a m2d vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 1
i := j*64
dst[j] := a.bits[i+63]
endfor
Parameters
athe vector to convert
Returns
vector-mask
m2f m2f_cvt_v2f ( v2f  a)
related

Converts a v2f vector into a m2f vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 1
i := j*32
dst[j] := a.bits[i+31]
endfor
Parameters
athe vector to convert
Returns
vector-mask
m2i m2i_cvt_v2i ( v2i  a)
related

Converts a v2i vector into a m2i vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 1
i := j*32
dst[j] := a.bits[i+31]
endfor
Parameters
athe vector to convert
Returns
vector-mask
m2l m2l_cvt_v2l ( v2l  a)
related

Converts a v2l vector into a m2l vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 1
i := j*64
dst[j] := a.bits[i+63]
endfor
Parameters
athe vector to convert
Returns
vector-mask
m4d m4d_cvt_v4d ( v4d  a)
related

Converts a v4d vector into a m4d vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 3
i := j*64
dst[j] := a.bits[i+63]
endfor
Parameters
athe vector to convert
Returns
vector-mask
m4f m4f_cvt_v4f ( v4f  a)
related

Converts a v4f vector into a m4f vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 3
i := j*32
dst[j] := a.bits[i+31]
endfor
Parameters
athe vector to convert
Returns
vector-mask
m4i m4i_cvt_v4i ( v4i  a)
related

Converts a v4i vector into a m4i vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 3
i := j*32
dst[j] := a.bits[i+31]
endfor
Parameters
athe vector to convert
Returns
vector-mask
m4l m4l_cvt_v4l ( v4l  a)
related

Converts a v4l vector into a m4l vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 3
i := j*64
dst[j] := a.bits[i+63]
endfor
Parameters
athe vector to convert
Returns
vector-mask
m8d m8d_cvt_v8d ( v8d  a)
related

Converts a v8d vector into a m8d vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 7
i := j*64
dst[j] := a.bits[i+63]
endfor
Parameters
athe vector to convert
Returns
vector-mask
m8f m8f_cvt_v8f ( v8f  a)
related

Converts a v8f vector into a m8f vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 7
i := j*32
dst[j] := a.bits[i+31]
endfor
Parameters
athe vector to convert
Returns
vector-mask
m8i m8i_cvt_v8i ( v8i  a)
related

Converts a v8i vector into a m8i vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 7
i := j*32
dst[j] := a.bits[i+31]
endfor
Parameters
athe vector to convert
Returns
vector-mask
m8l m8l_cvt_v8l ( v8l  a)
related

Converts a v8l vector into a m8l vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 7
i := j*64
dst[j] := a.bits[i+63]
endfor
Parameters
athe vector to convert
Returns
vector-mask
m16f m16f_cvt_v16f ( v16f  a)
related

Converts a v16f vector into a m16f vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 15
i := j*32
dst[j] := a.bits[i+31]
endfor
Parameters
athe vector to convert
Returns
vector-mask
m16i m16i_cvt_v16i ( v16i  a)
related

Converts a v16i vector into a m16i vector-mask. Sets dst[i] if the Most Significant Bit of a[i] is set.

Operation
for j from 0 to 15
i := j*32
dst[j] := a.bits[i+31]
endfor
Parameters
athe vector to convert
Returns
vector-mask
v1d v1d_cvt_m1d ( m1d  a)
related

Converts a m1d vector-mask into a v1d vector.

The following statements are equivalent for every vector v1d vec:

  • v1d_and(v1d_cvt_m1d(a), vec)
  • v1d_mask_move(a, vec)
Operation
for j from 0 to 0
i := j*64
if mask[j]
dst.bits[i:i+63] := 0xFFFFFFFFFFFFFFFF
else
dst.bits[i:i+63] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
v1f v1f_cvt_m1f ( m1f  a)
related

Converts a m1f vector-mask into a v1f vector.

The following statements are equivalent for every vector v1f vec:

  • v1f_and(v1f_cvt_m1f(a), vec)
  • v1f_mask_move(a, vec)
Operation
for j from 0 to 0
i := j*32
if mask[j]
dst.bits[i:i+31] := 0xFFFFFFFF
else
dst.bits[i:i+31] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
v1i v1i_cvt_m1i ( m1i  a)
related

Converts a m1i vector-mask into a v1i vector.

The following statements are equivalent for every vector v1i vec:

  • v1i_and(v1i_cvt_m1i(a), vec)
  • v1i_mask_move(a, vec)
Operation
for j from 0 to 0
i := j*32
if mask[j]
dst.bits[i:i+31] := 0xFFFFFFFF
else
dst.bits[i:i+31] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
v1l v1l_cvt_m1l ( m1l  a)
related

Converts a m1l vector-mask into a v1l vector.

The following statements are equivalent for every vector v1l vec:

  • v1l_and(v1l_cvt_m1l(a), vec)
  • v1l_mask_move(a, vec)
Operation
for j from 0 to 0
i := j*64
if mask[j]
dst.bits[i:i+63] := 0xFFFFFFFFFFFFFFFF
else
dst.bits[i:i+63] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
v2d v2d_cvt_m2d ( m2d  a)
related

Converts a m2d vector-mask into a v2d vector.

The following statements are equivalent for every vector v2d vec:

  • v2d_and(v2d_cvt_m2d(a), vec)
  • v2d_mask_move(a, vec)
Operation
for j from 0 to 1
i := j*64
if mask[j]
dst.bits[i:i+63] := 0xFFFFFFFFFFFFFFFF
else
dst.bits[i:i+63] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
v2f v2f_cvt_m2f ( m2f  a)
related

Converts a m2f vector-mask into a v2f vector.

The following statements are equivalent for every vector v2f vec:

  • v2f_and(v2f_cvt_m2f(a), vec)
  • v2f_mask_move(a, vec)
Operation
for j from 0 to 1
i := j*32
if mask[j]
dst.bits[i:i+31] := 0xFFFFFFFF
else
dst.bits[i:i+31] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
v2i v2i_cvt_m2i ( m2i  a)
related

Converts a m2i vector-mask into a v2i vector.

The following statements are equivalent for every vector v2i vec:

  • v2i_and(v2i_cvt_m2i(a), vec)
  • v2i_mask_move(a, vec)
Operation
for j from 0 to 1
i := j*32
if mask[j]
dst.bits[i:i+31] := 0xFFFFFFFF
else
dst.bits[i:i+31] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
v2l v2l_cvt_m2l ( m2l  a)
related

Converts a m2l vector-mask into a v2l vector.

The following statements are equivalent for every vector v2l vec:

  • v2l_and(v2l_cvt_m2l(a), vec)
  • v2l_mask_move(a, vec)
Operation
for j from 0 to 1
i := j*64
if mask[j]
dst.bits[i:i+63] := 0xFFFFFFFFFFFFFFFF
else
dst.bits[i:i+63] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
v4d v4d_cvt_m4d ( m4d  a)
related

Converts a m4d vector-mask into a v4d vector.

The following statements are equivalent for every vector v4d vec:

  • v4d_and(v4d_cvt_m4d(a), vec)
  • v4d_mask_move(a, vec)
Operation
for j from 0 to 3
i := j*64
if mask[j]
dst.bits[i:i+63] := 0xFFFFFFFFFFFFFFFF
else
dst.bits[i:i+63] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
v4f v4f_cvt_m4f ( m4f  a)
related

Converts a m4f vector-mask into a v4f vector.

The following statements are equivalent for every vector v4f vec:

  • v4f_and(v4f_cvt_m4f(a), vec)
  • v4f_mask_move(a, vec)
Operation
for j from 0 to 3
i := j*32
if mask[j]
dst.bits[i:i+31] := 0xFFFFFFFF
else
dst.bits[i:i+31] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
v4i v4i_cvt_m4i ( m4i  a)
related

Converts a m4i vector-mask into a v4i vector.

The following statements are equivalent for every vector v4i vec:

  • v4i_and(v4i_cvt_m4i(a), vec)
  • v4i_mask_move(a, vec)
Operation
for j from 0 to 3
i := j*32
if mask[j]
dst.bits[i:i+31] := 0xFFFFFFFF
else
dst.bits[i:i+31] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
v4l v4l_cvt_m4l ( m4l  a)
related

Converts a m4l vector-mask into a v4l vector.

The following statements are equivalent for every vector v4l vec:

  • v4l_and(v4l_cvt_m4l(a), vec)
  • v4l_mask_move(a, vec)
Operation
for j from 0 to 3
i := j*64
if mask[j]
dst.bits[i:i+63] := 0xFFFFFFFFFFFFFFFF
else
dst.bits[i:i+63] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
v8d v8d_cvt_m8d ( m8d  a)
related

Converts a m8d vector-mask into a v8d vector.

The following statements are equivalent for every vector v8d vec:

  • v8d_and(v8d_cvt_m8d(a), vec)
  • v8d_mask_move(a, vec)
Operation
for j from 0 to 7
i := j*64
if mask[j]
dst.bits[i:i+63] := 0xFFFFFFFFFFFFFFFF
else
dst.bits[i:i+63] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
v8f v8f_cvt_m8f ( m8f  a)
related

Converts a m8f vector-mask into a v8f vector.

The following statements are equivalent for every vector v8f vec:

  • v8f_and(v8f_cvt_m8f(a), vec)
  • v8f_mask_move(a, vec)
Operation
for j from 0 to 7
i := j*32
if mask[j]
dst.bits[i:i+31] := 0xFFFFFFFF
else
dst.bits[i:i+31] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
v8i v8i_cvt_m8i ( m8i  a)
related

Converts a m8i vector-mask into a v8i vector.

The following statements are equivalent for every vector v8i vec:

  • v8i_and(v8i_cvt_m8i(a), vec)
  • v8i_mask_move(a, vec)
Operation
for j from 0 to 7
i := j*32
if mask[j]
dst.bits[i:i+31] := 0xFFFFFFFF
else
dst.bits[i:i+31] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
v8l v8l_cvt_m8l ( m8l  a)
related

Converts a m8l vector-mask into a v8l vector.

The following statements are equivalent for every vector v8l vec:

  • v8l_and(v8l_cvt_m8l(a), vec)
  • v8l_mask_move(a, vec)
Operation
for j from 0 to 7
i := j*64
if mask[j]
dst.bits[i:i+63] := 0xFFFFFFFFFFFFFFFF
else
dst.bits[i:i+63] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
v16f v16f_cvt_m16f ( m16f  a)
related

Converts a m16f vector-mask into a v16f vector.

The following statements are equivalent for every vector v16f vec:

  • v16f_and(v16f_cvt_m16f(a), vec)
  • v16f_mask_move(a, vec)
Operation
for j from 0 to 15
i := j*32
if mask[j]
dst.bits[i:i+31] := 0xFFFFFFFF
else
dst.bits[i:i+31] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
v16i v16i_cvt_m16i ( m16i  a)
related

Converts a m16i vector-mask into a v16i vector.

The following statements are equivalent for every vector v16i vec:

  • v16i_and(v16i_cvt_m16i(a), vec)
  • v16i_mask_move(a, vec)
Operation
for j from 0 to 15
i := j*32
if mask[j]
dst.bits[i:i+31] := 0xFFFFFFFF
else
dst.bits[i:i+31] := 0
endif
endfor
Parameters
athe vector-mask to convert
Returns
vector
m1d m1d_cvt_m1d ( m1d  a)
related

Converts a m1d vector-mask into a m1d vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 0
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m1f m1f_cvt_m1d ( m1d  a)
related

Converts a m1d vector-mask into a m1f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 0
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m1i m1i_cvt_m1d ( m1d  a)
related

Converts a m1d vector-mask into a m1i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 0
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m1l m1l_cvt_m1d ( m1d  a)
related

Converts a m1d vector-mask into a m1l vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 0
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m2d m2d_cvt_m2d ( m2d  a)
related

Converts a m2d vector-mask into a m2d vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 1
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m2f m2f_cvt_m2d ( m2d  a)
related

Converts a m2d vector-mask into a m2f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 1
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m2i m2i_cvt_m2d ( m2d  a)
related

Converts a m2d vector-mask into a m2i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 1
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m2l m2l_cvt_m2d ( m2d  a)
related

Converts a m2d vector-mask into a m2l vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 1
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m4d m4d_cvt_m4d ( m4d  a)
related

Converts a m4d vector-mask into a m4d vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 3
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m4f m4f_cvt_m4d ( m4d  a)
related

Converts a m4d vector-mask into a m4f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 3
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m4i m4i_cvt_m4d ( m4d  a)
related

Converts a m4d vector-mask into a m4i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 3
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m4l m4l_cvt_m4d ( m4d  a)
related

Converts a m4d vector-mask into a m4l vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 3
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m8d m8d_cvt_m8d ( m8d  a)
related

Converts a m8d vector-mask into a m8d vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 7
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m8f m8f_cvt_m8d ( m8d  a)
related

Converts a m8d vector-mask into a m8f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 7
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m8i m8i_cvt_m8d ( m8d  a)
related

Converts a m8d vector-mask into a m8i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 7
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m8l m8l_cvt_m8d ( m8d  a)
related

Converts a m8d vector-mask into a m8l vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 7
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m1d m1d_cvt_m1f ( m1f  a)
related

Converts a m1f vector-mask into a m1d vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 0
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m1f m1f_cvt_m1f ( m1f  a)
related

Converts a m1f vector-mask into a m1f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 0
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m1i m1i_cvt_m1f ( m1f  a)
related

Converts a m1f vector-mask into a m1i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 0
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m1l m1l_cvt_m1f ( m1f  a)
related

Converts a m1f vector-mask into a m1l vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 0
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m2d m2d_cvt_m2f ( m2f  a)
related

Converts a m2f vector-mask into a m2d vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 1
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m2f m2f_cvt_m2f ( m2f  a)
related

Converts a m2f vector-mask into a m2f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 1
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m2i m2i_cvt_m2f ( m2f  a)
related

Converts a m2f vector-mask into a m2i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 1
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m2l m2l_cvt_m2f ( m2f  a)
related

Converts a m2f vector-mask into a m2l vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 1
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m4d m4d_cvt_m4f ( m4f  a)
related

Converts a m4f vector-mask into a m4d vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 3
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m4f m4f_cvt_m4f ( m4f  a)
related

Converts a m4f vector-mask into a m4f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 3
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m4i m4i_cvt_m4f ( m4f  a)
related

Converts a m4f vector-mask into a m4i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 3
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m4l m4l_cvt_m4f ( m4f  a)
related

Converts a m4f vector-mask into a m4l vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 3
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m8d m8d_cvt_m8f ( m8f  a)
related

Converts a m8f vector-mask into a m8d vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 7
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m8f m8f_cvt_m8f ( m8f  a)
related

Converts a m8f vector-mask into a m8f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 7
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m8i m8i_cvt_m8f ( m8f  a)
related

Converts a m8f vector-mask into a m8i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 7
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m8l m8l_cvt_m8f ( m8f  a)
related

Converts a m8f vector-mask into a m8l vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 7
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m16f m16f_cvt_m16f ( m16f  a)
related

Converts a m16f vector-mask into a m16f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 15
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m16i m16i_cvt_m16f ( m16f  a)
related

Converts a m16f vector-mask into a m16i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 15
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m1d m1d_cvt_m1i ( m1i  a)
related

Converts a m1i vector-mask into a m1d vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 0
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m1f m1f_cvt_m1i ( m1i  a)
related

Converts a m1i vector-mask into a m1f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 0
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m1i m1i_cvt_m1i ( m1i  a)
related

Converts a m1i vector-mask into a m1i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 0
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m1l m1l_cvt_m1i ( m1i  a)
related

Converts a m1i vector-mask into a m1l vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 0
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m2d m2d_cvt_m2i ( m2i  a)
related

Converts a m2i vector-mask into a m2d vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 1
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m2f m2f_cvt_m2i ( m2i  a)
related

Converts a m2i vector-mask into a m2f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 1
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m2i m2i_cvt_m2i ( m2i  a)
related

Converts a m2i vector-mask into a m2i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 1
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m2l m2l_cvt_m2i ( m2i  a)
related

Converts a m2i vector-mask into a m2l vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 1
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m4d m4d_cvt_m4i ( m4i  a)
related

Converts a m4i vector-mask into a m4d vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 3
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m4f m4f_cvt_m4i ( m4i  a)
related

Converts a m4i vector-mask into a m4f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 3
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m4i m4i_cvt_m4i ( m4i  a)
related

Converts a m4i vector-mask into a m4i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 3
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m4l m4l_cvt_m4i ( m4i  a)
related

Converts a m4i vector-mask into a m4l vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 3
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m8d m8d_cvt_m8i ( m8i  a)
related

Converts a m8i vector-mask into a m8d vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 7
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m8f m8f_cvt_m8i ( m8i  a)
related

Converts a m8i vector-mask into a m8f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 7
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m8i m8i_cvt_m8i ( m8i  a)
related

Converts a m8i vector-mask into a m8i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 7
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m8l m8l_cvt_m8i ( m8i  a)
related

Converts a m8i vector-mask into a m8l vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 7
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m16f m16f_cvt_m16i ( m16i  a)
related

Converts a m16i vector-mask into a m16f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 15
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m16i m16i_cvt_m16i ( m16i  a)
related

Converts a m16i vector-mask into a m16i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 15
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m1d m1d_cvt_m1l ( m1l  a)
related

Converts a m1l vector-mask into a m1d vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 0
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m1f m1f_cvt_m1l ( m1l  a)
related

Converts a m1l vector-mask into a m1f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 0
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m1i m1i_cvt_m1l ( m1l  a)
related

Converts a m1l vector-mask into a m1i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 0
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m1l m1l_cvt_m1l ( m1l  a)
related

Converts a m1l vector-mask into a m1l vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 0
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m2d m2d_cvt_m2l ( m2l  a)
related

Converts a m2l vector-mask into a m2d vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 1
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m2f m2f_cvt_m2l ( m2l  a)
related

Converts a m2l vector-mask into a m2f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 1
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m2i m2i_cvt_m2l ( m2l  a)
related

Converts a m2l vector-mask into a m2i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 1
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m2l m2l_cvt_m2l ( m2l  a)
related

Converts a m2l vector-mask into a m2l vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 1
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m4d m4d_cvt_m4l ( m4l  a)
related

Converts a m4l vector-mask into a m4d vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 3
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m4f m4f_cvt_m4l ( m4l  a)
related

Converts a m4l vector-mask into a m4f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 3
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m4i m4i_cvt_m4l ( m4l  a)
related

Converts a m4l vector-mask into a m4i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 3
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m4l m4l_cvt_m4l ( m4l  a)
related

Converts a m4l vector-mask into a m4l vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 3
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m8d m8d_cvt_m8l ( m8l  a)
related

Converts a m8l vector-mask into a m8d vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 7
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m8f m8f_cvt_m8l ( m8l  a)
related

Converts a m8l vector-mask into a m8f vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 7
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m8i m8i_cvt_m8l ( m8l  a)
related

Converts a m8l vector-mask into a m8i vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 7
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask
m8l m8l_cvt_m8l ( m8l  a)
related

Converts a m8l vector-mask into a m8l vector-mask. The input vector-mask and the output vector-mask mask the same elements.

Operation
for i from 0 to 7
dst[i] := a[i]
endfor
Parameters
athe vector-mask to convert
Returns
the converted vector-mask