Commit 32911c53 authored by Steinar Midtskogen's avatar Steinar Midtskogen

Fix missing parentheses in v64_align()

Change-Id: I16469062853c101965f56002be30ebc5823975b1
parent a94997aa
......@@ -89,7 +89,7 @@ SIMD_INLINE void v64_store_unaligned(void *p, v64 a) {
// The following function requires an immediate.
#if __OPTIMIZE__
#define v64_align(a, b, c) \
(c) ? _mm_srli_si128(_mm_unpacklo_epi64(b, a), (c)) : b;
((c) ? _mm_srli_si128(_mm_unpacklo_epi64(b, a), (c)) : b)
#else
#define v64_align(a, b, c) \
((c) ? v64_from_64((v64_u64(b) >> (c)*8) | (v64_u64(a) << (8 - (c)) * 8)) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment