Re: SLP costing vs. forwardprop

2025-06-30 Thread Richard Biener via Gcc
On Mon, Jun 30, 2025 at 2:50 PM Juergen Christ via Gcc wrote: > > Hi, > > I am just looking at SLP costing for this program: > > #include > > typedef int16_t __attribute__((vector_size(16))) int16x8_t; > > int16x8_t __attribute__((noinline)) vec_padd(int16x8_t a, int16x8_t b) { > const int16x8_

SLP costing vs. forwardprop

2025-06-30 Thread Juergen Christ via Gcc
Hi, I am just looking at SLP costing for this program: #include typedef int16_t __attribute__((vector_size(16))) int16x8_t; int16x8_t __attribute__((noinline)) vec_padd(int16x8_t a, int16x8_t b) { const int16x8_t result = { a[0] + a[1], a[2] + a[3], a[4] + a[5], a[6]