#include "common.h"
Go to the source code of this file.
Data Structures | |
struct | vec_internal< LEN > |
class | vec2d |
Defines | |
#define | VEC_ALIGN __attribute__((aligned(16))) |
#define | OP_IMPL(__op__) |
Typedefs | |
typedef double v2df | __attribute__ ((vector_size(16))) |
Functions | |
template<int LEN> | |
std::ostream & | operator<< (std::ostream &out, const dvec< LEN > &v) |
std::ostream & | operator<< (std::ostream &out, const vec2d &v) |
Definition in file vector_x86.h.
#define VEC_ALIGN __attribute__((aligned(16))) |
Definition at line 37 of file vector_x86.h.
#define OP_IMPL | ( | __op__ | ) |
{ \ vec_internal<LEN> result; \ for (int i = 0; i < LEN/2; i++) { \ result.v[i] = __op__(data.v[i], b.data.v[i]); \ } \ return dvec<LEN>(result); \ }
Definition at line 142 of file vector_x86.h.
typedef double v2df __attribute__((vector_size(16))) |
Definition at line 39 of file vector_x86.h.
std::ostream& operator<< | ( | std::ostream & | out, | |
const dvec< LEN > & | v | |||
) | [inline] |
Definition at line 244 of file vector_x86.h.
std::ostream& operator<< | ( | std::ostream & | out, | |
const vec2d & | v | |||
) | [inline] |
Definition at line 339 of file vector_x86.h.
References vec2d::x(), and vec2d::y().