This is the mail archive of the gcc-patches@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: cost model patch


Hi Richard, David,
In principle yes.  Note that it changes the behavior of -O2 -ftree-vectorize
as -ftree-vectorize does not imply changing the default cost model.  I am
fine with that, but eventually this will have some testsuite fallout.
Indeed I am observing a regression with this patch on arm-none-eabi in
gcc.dg/tree-ssa/gen-vect-26.c.

Seems that the cheap vectoriser model doesn't do unaligned stores (as expected I think?). Is adding -fvect-cost-model=dynamic to the test options the correct approach?


Thanks,
Kyrill



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