diff options
Diffstat (limited to 'vec_float_neon.h')
-rw-r--r-- | vec_float_neon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vec_float_neon.h b/vec_float_neon.h index f2f1d93..422f578 100644 --- a/vec_float_neon.h +++ b/vec_float_neon.h @@ -245,7 +245,7 @@ namespace vecmathlib { static int const alignment = sizeof(vector_t); static char const* name() { return "<NEON:2*float>"; } - void barrier() { __asm__("": "+v" (v)); } + void barrier() { __asm__("": "+w" (v)); } static_assert(size * sizeof(real_t) == sizeof(vector_t), "vector size is wrong"); |