Re: [PATCH 6/8] aarch64: Tweak MLA vector costs

2021-08-04 Thread Richard Sandiford via Gcc-patches
Richard Sandiford via Gcc-patches writes: > Richard Biener writes: >> On Tue, Aug 3, 2021 at 2:10 PM Richard Sandiford via Gcc-patches >> wrote: >>> >>> The issue-based vector costs currently assume that a multiply-add >>> sequence can be implemented using a single instruction. This is >>> gene

Re: [PATCH 6/8] aarch64: Tweak MLA vector costs

2021-08-04 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > On Tue, Aug 3, 2021 at 2:10 PM Richard Sandiford via Gcc-patches > wrote: >> >> The issue-based vector costs currently assume that a multiply-add >> sequence can be implemented using a single instruction. This is >> generally true for scalars (which have a 4-operand inst

Re: [PATCH 6/8] aarch64: Tweak MLA vector costs

2021-08-04 Thread Richard Biener via Gcc-patches
On Tue, Aug 3, 2021 at 2:10 PM Richard Sandiford via Gcc-patches wrote: > > The issue-based vector costs currently assume that a multiply-add > sequence can be implemented using a single instruction. This is > generally true for scalars (which have a 4-operand instruction) > and SVE (which allows

[PATCH 6/8] aarch64: Tweak MLA vector costs

2021-08-03 Thread Richard Sandiford via Gcc-patches
The issue-based vector costs currently assume that a multiply-add sequence can be implemented using a single instruction. This is generally true for scalars (which have a 4-operand instruction) and SVE (which allows the output to be tied to any input). However, for Advanced SIMD, multiplying two v