Re: [PATCH] RISC-V: Implement movmisalign to enable SLP

2022-11-10 Thread Philipp Tomsich
On Thu, 10 Nov 2022 at 02:24, Kito Cheng wrote: > > I am not sure if I am missing something, your testcase should rely on > movmisalignhi pattern, but you defined movmisalign with ANYF > mode iterator rather than movmisalign with HI, SI, DI? It was already defined with the ANYI iterator in the

Re: [PATCH] RISC-V: Implement movmisalign to enable SLP

2022-11-09 Thread Kito Cheng via Gcc-patches
I am not sure if I am missing something, your testcase should rely on movmisalignhi pattern, but you defined movmisalign with ANYF mode iterator rather than movmisalign with HI, SI, DI? And seems the testcase compile with `-march=rv64gc -mabi=lp64 -mtune=size -O2` w/o this patch already generated

[PATCH] RISC-V: Implement movmisalign to enable SLP

2022-11-09 Thread Philipp Tomsich
The default implementation of support_vector_misalignment() checks whether movmisalign is present for the requested mode. This will be used by vect_supportable_dr_alignment() to determine whether a misaligned access of vectorized data is permissible. For RISC-V this is required to convert