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] |
registers, not only after the loop, but across the loop patch.Splitting the reduction to force the first step to be done as a vector operation
seemed the obvious solution. The hook was called, but the vectorizer stillgenerated the vanilla final reduction code. It turns out that the reduction splitting
was calculated, but the result not used, and the calculation started anew. The attached patch fixes this. bootstrapped and regression tested on x86_64-pc-linux-gnu .
Attachment:
reduction-split-patch-266008.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |