Re: Help with vector cost model

2024-07-11 Thread Richard Biener via Gcc
On Fri, Jul 12, 2024 at 4:42 AM Andrew Pinski wrote: > > On Thu, Jul 11, 2024 at 2:14 AM Richard Biener > wrote: > > > > On Thu, Jul 11, 2024 at 10:58 AM Richard Sandiford > > wrote: > > > > > > Andrew Pinski writes: > > > > I need some help with the vector cost model for aarch64. > > > > I am

Re: Help with vector cost model

2024-07-11 Thread Andrew Pinski via Gcc
On Thu, Jul 11, 2024 at 2:14 AM Richard Biener wrote: > > On Thu, Jul 11, 2024 at 10:58 AM Richard Sandiford > wrote: > > > > Andrew Pinski writes: > > > I need some help with the vector cost model for aarch64. > > > I am adding V2HI and V4QI mode support by emulating it using the > > > native V

Re: Help with vector cost model

2024-07-11 Thread Richard Biener via Gcc
On Thu, Jul 11, 2024 at 10:58 AM Richard Sandiford wrote: > > Andrew Pinski writes: > > I need some help with the vector cost model for aarch64. > > I am adding V2HI and V4QI mode support by emulating it using the > > native V4HI/V8QI instructions (similarly to mmx as SSE is done). The > > proble

Re: Help with vector cost model

2024-07-11 Thread Richard Sandiford via Gcc
Andrew Pinski writes: > I need some help with the vector cost model for aarch64. > I am adding V2HI and V4QI mode support by emulating it using the > native V4HI/V8QI instructions (similarly to mmx as SSE is done). The > problem is I am running into a cost model issue with > gcc.target/aarch64/pr9

Help with vector cost model

2024-07-10 Thread Andrew Pinski via Gcc
I need some help with the vector cost model for aarch64. I am adding V2HI and V4QI mode support by emulating it using the native V4HI/V8QI instructions (similarly to mmx as SSE is done). The problem is I am running into a cost model issue with gcc.target/aarch64/pr98772.c (wminus is similar to gcc.