Skip to content

Commit

Permalink
arm neon _vext_p6: reverse logic to avoid GCC14 i586 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Blarse authored and mr-c committed Dec 22, 2024
1 parent 866cc57 commit 0aafbd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simde/arm/neon/ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,7 @@ simde_vext_p64(simde_poly64x1_t a, simde_poly64x1_t b, const int n)
const size_t n_ = HEDLEY_STATIC_CAST(size_t, n);
for (size_t i = 0 ; i < (sizeof(r_.values) / sizeof(r_.values[0])) ; i++) {
size_t src = i + n_;
r_.values[i] = (src < (sizeof(r_.values) / sizeof(r_.values[0]))) ? a_.values[src] : b_.values[src & 0];
r_.values[i] = (src >= (sizeof(r_.values) / sizeof(r_.values[0]))) ? b_.values[src & 0] : a_.values[src];
}
return simde_poly64x1_from_private(r_);
#endif
Expand Down

0 comments on commit 0aafbd6

Please sign in to comment.