This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: [ARM] Disable peeling


"H.J. Lu" <hjl.tools@gmail.com> writes:
>
> i386.c has
>
>    {
>       /* When not optimize for size, enable vzeroupper optimization for
>          TARGET_AVX with -fexpensive-optimizations and split 32-byte
>          AVX unaligned load/store.  */

This is only for the load, not for deciding whether peeling is
worthwhile or not.

I believe it's unimplemented for x86 at this point. There isn't even a
hook for it. Any hook that is added should ideally work for both ARM64
and x86. This would imply it would need to handle different vector
sizes.

-Andi


-- 
ak@linux.intel.com -- Speaking for myself only


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]