Mask classes are abstractions for the results of vector comparisons. The actual implementation differs depending on the SIMD instruction set. On SSE they contain a full 128-bit datatype while on a different architecture they might be bit-fields.
Classes | |
| class | Mask< T, Abi > |
| The main SIMD mask class. More... | |
Functions | |
| template<typename T, typename Abi> | |
| std::ostream & | operator<< (std::ostream &out, const Vc::Mask< T, Abi > &m) |
| Prints the contents of a mask into a stream object. | |
Mask Type Aliases | |
| using | double_m = Mask<double> |
| mask type for double_v vectors | |
| using | float_m = Mask< float> |
| mask type for float_v vectors | |
| using | int_m = Mask< int> |
| mask type for int_v vectors | |
| using | uint_m = Mask< uint> |
| mask type for uint_v vectors | |
| using | short_m = Mask< short> |
| mask type for short_v vectors | |
| using | ushort_m = Mask<ushort> |
| mask type for ushort_v vectors | |
|
inline |
Prints the contents of a mask into a stream object.
will output (with SSE):
m[1110 0000]
| out | Any standard C++ ostream object. For example std::cout or a std::stringstream object. |
| m | Any Vc::Mask object. |