Re: [PATCH] aarch64: Fix ZIP1 order in aarch64_expand_vector_init

2025-07-04 Thread Andrew Pinski
On Fri, Jul 4, 2025 at 9:15 AM Richard Sandiford wrote: > > aarch64_expand_vector_init contains some divide-and-conquer code > that tries to load the odd and even elements into 64-bit registers > and then ZIP them together. On big-endian targets, the even elements > are more significant than the

[PATCH] aarch64: Fix ZIP1 order in aarch64_expand_vector_init

2025-07-04 Thread Richard Sandiford
aarch64_expand_vector_init contains some divide-and-conquer code that tries to load the odd and even elements into 64-bit registers and then ZIP them together. On big-endian targets, the even elements are more significant than the odd elements and so should come second in the ZIP. This fixes many