This is the mail archive of the gcc-bugs@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]

[Bug target/57952] AVX/AVX2 no ymm registers used in a trivial reduction


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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Why should there be any references to that?  -march= is an ISA selection
option, it says the compiler may use the instructions from the ISA.
-ftree-vectorize is an optimization option (default at -O3 and -Ofast), which
attempts to vectorize loops using the selected ISA if possible.  The reason it
isn't on at -O2 is that it doesn't always improve code, it can make code slower
as well, and usually makes the code larger; it really depends on the loop etc.

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