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: [autovect] [patch] complete-unrolling pass before the vectorizer


> Do you have a test case that shows different code if you remove the
> pass_ccp before the pass_store_ccp?

The testcase is attached.  Complied with -O3 -ffast-math.  Looking at
the dumps with and without the CCP pass, it can be seen that this pass
is essential to clean the constants.

248c248
<   D.1621_251 = tmp2_18 * 6.4e+1;
---
>   D.1621_251 = tmp2_18 * c2_247;

Thanks,
Revital

(See attached file: test_ccp_pass.txt)
>
> Gr.
> Steven

Attachment: test_ccp_pass.txt
Description: Text document


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