Skip to content

Commit

Permalink
Fixes the GCC build when targeting ARM CPUs with NEON support
Browse files Browse the repository at this point in the history
  • Loading branch information
crsib committed Nov 6, 2023
1 parent 0fd24d2 commit 4f165d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libraries/lib-time-and-pitch/StaffPad/SimdTypes_neon.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ struct float_x4
s.n128_f32[1] = v1;
s.n128_f32[2] = v2;
s.n128_f32[3] = v3;
#else
#elif __clang__
s = {v0, v1, v2, v3};
#else
float f[4] = {v0, v1, v2, v3};
s = vld1q_f32(f);
#endif
}

Expand Down

0 comments on commit 4f165d7

Please sign in to comment.