[Bug target/89226] codegen for copying a 512-bit object fails to use avx instructions

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 6 20:39:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89226

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Maybe i386.c would need its own ix86_use_by_pieces_infrastructure_p target hook
if the default wouldn't do the right thing with this.  Maybe we'll need to
split STORE_MAX_PIECES into separately overridable CLEAR_MAX_PIECES,
SET_MAX_PIECES and STORE_MAX_PIECES macros, storing 32-byte or 64-byte zeros is
cheap, but for e.g. store_by_pieces that might not be the case.

And see what can be done to avoid the frame pointer.


More information about the Gcc-bugs mailing list