vector_x86.h File Reference

#include "common.h"
Include dependency graph for vector_x86.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)

Detailed Description

Definition in file vector_x86.h.


Define Documentation

#define VEC_ALIGN   __attribute__((aligned(16)))

Definition at line 37 of file vector_x86.h.

#define OP_IMPL ( __op__   ) 
Value:
{                             \
    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 Documentation

typedef double v2df __attribute__((vector_size(16)))

Definition at line 39 of file vector_x86.h.


Function Documentation

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().

Here is the call graph for this function:

Generated on Tue Dec 11 13:14:28 2012 for LIBBN by  doxygen 1.6.3