Re: [PATCH] aarch64: Use LDR for first-element loads for Advanced SIMD

2025-05-08 Thread Richard Sandiford
Dhruv Chawla writes: > This patch modifies Advanced SIMD assembly generation to emit an LDR > instruction when a vector is created using a load to the first element with > the > other elements being zero. > > This is similar to what *aarch64_combinez already does. > > Example: > > uint8x16_t foo(

Re: [PATCH] aarch64: Use LDR for first-element loads for Advanced SIMD

2025-05-06 Thread Dhruv Chawla
On 06/01/25 11:44, Andrew Pinski wrote: External email: Use caution opening links or attachments On Sun, Jan 5, 2025 at 10:06 PM Dhruv Chawla wrote: This patch modifies Advanced SIMD assembly generation to emit an LDR instruction when a vector is created using a load to the first element wit

Re: [PATCH] aarch64: Use LDR for first-element loads for Advanced SIMD

2025-01-05 Thread Andrew Pinski
On Sun, Jan 5, 2025 at 10:06 PM Dhruv Chawla wrote: > > This patch modifies Advanced SIMD assembly generation to emit an LDR > instruction when a vector is created using a load to the first element with > the > other elements being zero. > > This is similar to what *aarch64_combinez already does.