Vc
0.7.5-dev
SIMD Vector Classes for C++
|
|
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 | float_m |
Mask object to use with float_v objects. More... | |
class | double_m |
Mask object to use with double_v objects. More... | |
class | int_m |
Mask object to use with int_v objects. More... | |
class | uint_m |
Mask object to use with uint_v objects. More... | |
class | short_m |
Mask object to use with short_v objects. More... | |
class | ushort_m |
Mask object to use with ushort_v objects. More... | |
class | sfloat_m |
Mask object to use with sfloat_v objects. More... |
Functions | |
template<typename T > | |
std::ostream & | operator<< (std::ostream &s, const typename Vc::Vector< T >::Mask &v) |
Prints the contents of a mask into a stream object. |
std::ostream& operator<< | ( | std::ostream & | s, |
const typename Vc::Vector< T >::Mask & | v | ||
) |
Prints the contents of a mask into a stream object.
will output (with SSE):
m[1110 0000]
s | Any standard C++ ostream object. For example std::cout or a std::stringstream object. |
v | Any Vc mask object. |