Re: [PATCH, testsuite] Fix for PR47440 - Use LCM for vzeroupper insertion

2011-07-20 Thread Vladimir Yakovlev
Hi Uros, Thank you for such a detailed explanation. I'll study it. Regards, Vladimir 2011/7/20 Uros Bizjak : > Hello! > >> > ? ? ? ?* a/gcc/gcse.c (alloc_gcse_mem): Added code to run in PRE2. >> >> And this is necessary because...??? >> >> Why not just make it a separate pass in ix86-reorg that

Re: [PATCH, testsuite] Fix for PR47440 - Use LCM for vzeroupper insertion

2011-07-20 Thread Vladimir Yakovlev
Hi Steven, I need a separate pass because the transformation on vzeroupper redandancy elemination must be performed when reload is completed. I think it is possible to make it as a separate pass in ix86-reorg if the phase works after reload. Thaks, Vladimir 2011/7/19 Steven Bosscher : >>        

Re: [PATCH, testsuite] Fix for PR47440 - Use LCM for vzeroupper insertion

2011-07-20 Thread Uros Bizjak
Hello! > > ? ? ? ?* a/gcc/gcse.c (alloc_gcse_mem): Added code to run in PRE2. > > And this is necessary because...??? > > Why not just make it a separate pass in ix86-reorg that uses LCM? Look at > mode switching for an example. I was also expecting that vzeroupper would be inserted in the same

Re: [PATCH, testsuite] Fix for PR47440 - Use LCM for vzeroupper insertion

2011-07-19 Thread Steven Bosscher
>        * a/gcc/gcse.c (alloc_gcse_mem): Added code to run in PRE2. And this is necessary because...??? Why not just make it a separate pass in ix86-reorg that uses LCM? Look at mode switching for an example. Ciao! Steven