21 #ifndef INCLUDED_GR_ALTIVEC_H
22 #define INCLUDED_GR_ALTIVEC_H
34 #undef bool // repair namespace pollution
35 #undef vector // repair namespace pollution
37 #ifdef HAVE_VEC_TYPES_H
38 #include <vec_types.h>
42 #undef qword // repair namespace pollution
51 #define VS sizeof(vec_float4)
52 #define FLOATS_PER_VEC (sizeof(vec_float4)/sizeof(float))
67 vec_float4 t1 = vec_add(t0, vec_sld(t0, t0, 4));
#define vec_float4
Definition: gr_vec_types.h:47
#define FLOATS_PER_VEC
Definition: gr_altivec.h:52
static float horizontal_add_f(vec_float4 v)
Definition: gr_altivec.h:63
#define GR_CORE_API
Definition: gr_core_api.h:30
float f[FLOATS_PER_VEC]
Definition: gr_altivec.h:56
vec_float4 v
Definition: gr_altivec.h:55
Definition: gr_altivec.h:54
GR_CORE_API void gr_print_vector_float(FILE *fp, vec_float4 v)
GR_CORE_API void gr_pvf(FILE *fp, const char *label, vec_float4 v)