fix sepples compilation

This commit is contained in:
Connor Olding 2015-05-28 21:14:13 -07:00
parent e72a42b6e0
commit 834e424087
2 changed files with 2 additions and 1 deletions

View file

@ -117,7 +117,7 @@ svf_gen_matrix(svf s)
} }
INNER void INNER void
svf_run_block_mat(svf_matrix *restrict mat, v4sf *restrict buf, ulong count) svf_run_block_mat(svf_matrix *RESTRICT mat, v4sf *RESTRICT buf, ulong count)
{ {
v4sf t1, t2, t3, t4; v4sf t1, t2, t3, t4;
v4sf memory = mat->memory; v4sf memory = mat->memory;

View file

@ -9,6 +9,7 @@
#define INNER static inline #define INNER static inline
#define PURE __attribute__((pure)) #define PURE __attribute__((pure))
#define CONST __attribute__((const)) #define CONST __attribute__((const))
#define RESTRICT __restrict__
typedef double v2df __attribute__((vector_size(16), aligned(16))); typedef double v2df __attribute__((vector_size(16), aligned(16)));
typedef float v2sf __attribute__((vector_size(8), aligned(8))); typedef float v2sf __attribute__((vector_size(8), aligned(8)));