diff options
Diffstat (limited to 'math/test-double-vlen2.h')
-rw-r--r-- | math/test-double-vlen2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/test-double-vlen2.h b/math/test-double-vlen2.h index 37d70604e5..2e8415b16a 100644 --- a/math/test-double-vlen2.h +++ b/math/test-double-vlen2.h @@ -45,7 +45,7 @@ #define WRAPPER_DECL(function) extern FLOAT function (FLOAT); #define WRAPPER_DECL_ff(function) extern FLOAT function (FLOAT, FLOAT); -// Wrapper from scalar to vector function with vector length 8. +// Wrapper from scalar to vector function with vector length 2. #define VECTOR_WRAPPER(scalar_func, vector_func) \ extern VEC_TYPE vector_func (VEC_TYPE); \ FLOAT scalar_func (FLOAT x) \ @@ -63,7 +63,7 @@ extern VEC_TYPE vector_func (VEC_TYPE, VEC_TYPE); \ FLOAT scalar_func (FLOAT x, FLOAT y) \ { \ int i; \ - VEC_TYPE mx; \ + VEC_TYPE mx, my; \ INIT_VEC_LOOP (mx, x, 2); \ INIT_VEC_LOOP (my, y, 2); \ VEC_TYPE mr = vector_func (mx, my); \ |