|
| vbool16 () |
| Default constructor (contents undefined) More...
|
|
| vbool16 (bool a) |
| Construct from a single value (store it in all slots) More...
|
|
| vbool16 (int bitmask) |
|
| vbool16 (const bool *values) |
|
| vbool16 (bool v0, bool v1, bool v2, bool v3, bool v4, bool v5, bool v6, bool v7, bool v8, bool v9, bool v10, bool v11, bool v12, bool v13, bool v14, bool v15) |
| Construct from 16 bool values. More...
|
|
| vbool16 (const vbool16 &other) |
| Copy construct from another vbool16. More...
|
|
| vbool16 (int v0, int v1, int v2, int v3, int v4, int v5, int v6, int v7, int v8, int v9, int v10, int v11, int v12, int v13, int v14, int v15) |
| Construct from 16 int values. More...
|
|
| vbool16 (const vint16 &i) |
| Construct from a SIMD int (is each element nonzero?) More...
|
|
| vbool16 (const vbool8 &lo, const vbool8 &hi) |
| Construct from two vbool8's. More...
|
|
| vbool16 (const vbool4 &b4a, const vbool4 &b4b, const vbool4 &b4c, const vbool4 &b4d) |
| Construct from four vbool4's. More...
|
|
| vbool16 (const simd_t &m) |
| Construct from the underlying SIMD type. More...
|
|
| operator simd_t () const |
| Return the raw SIMD type. More...
|
|
simd_t | simd () const |
|
simd_t & | simd () |
|
int | bitmask () const |
|
void | clear () |
| Set all components to false. More...
|
|
const vbool16 & | operator= (bool a) |
| Assign one value to all components. More...
|
|
const vbool16 & | operator= (const vbool16 &other) |
| Assignment of another vbool16. More...
|
|
int | operator[] (int i) const |
| Component access (get) More...
|
|
void | setcomp (int i, bool value) |
| Component access (set). More...
|
|
vbool8 | lo () const |
| Extract the lower precision vbool8. More...
|
|
vbool8 | hi () const |
| Extract the higher precision vbool8. More...
|
|
void | load (bool a) |
| Helper: load a single value into all components. More...
|
|
void | load (bool v0, bool v1, bool v2, bool v3, bool v4, bool v5, bool v6, bool v7, bool v8, bool v9, bool v10, bool v11, bool v12, bool v13, bool v14, bool v15) |
| Helper: load separate values into each component. More...
|
|
void | load_bitmask (int a) |
| Helper: load all components from a bitmask in an int. More...
|
|
void | store (bool *values) const |
| Helper: store the values into memory as bools. More...
|
|
void | store (bool *values, int n) const |
| Store the first n values into memory. More...
|
|
|
vbool4 | operator! (const vbool4 &a) |
| Logical/bitwise operators, component-by-component. More...
|
|
vbool16 | operator! (const vbool16 &a) |
|
vbool16 | operator& (const vbool16 &a, const vbool16 &b) |
|
vbool16 | operator| (const vbool16 &a, const vbool16 &b) |
|
vbool16 | operator^ (const vbool16 &a, const vbool16 &b) |
|
vbool16 | operator~ (const vbool16 &a) |
|
const vbool16 & | operator&= (vbool16 &a, const vbool16 &b) |
|
const vbool16 & | operator|= (vbool16 &a, const vbool16 &b) |
|
const vbool16 & | operator^= (vbool16 &a, const vbool16 &b) |
|
vbool16 | operator== (const vbool16 &a, const vbool16 &b) |
| Comparison operators, component by component. More...
|
|
vbool16 | operator!= (const vbool16 &a, const vbool16 &b) |
|
std::ostream & | operator<< (std::ostream &cout, const vbool16 &a) |
| Stream output. More...
|
|
vbool16: An 16-vector whose elements act mostly like bools, accelerated by SIMD instructions when available. This is what is naturally produced by SIMD comparison operators on the vfloat16 and vint16 types.
Definition at line 746 of file simd.h.