diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-06-12 23:16:34 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-06-12 23:16:34 -0400 |
commit | 001dc47dba8049d49b1a70318485fc0cf6a9b656 (patch) | |
tree | 9291018240514371b3b18492f52597b4d50b220c | |
parent | b0a3e503f5948388c559da367f85422ccde553f9 (diff) | |
download | vecmathlib-001dc47dba8049d49b1a70318485fc0cf6a9b656.zip vecmathlib-001dc47dba8049d49b1a70318485fc0cf6a9b656.tar.gz |
Correct NEON barrier
-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"); |