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: PATCH: Add vzeroupper optimization for AVX


In Mon, Oct 25, 2010 at 6:33 AM, Andi Kleen <andi@firstfloor.org> wrote:
> "H.J. Lu" <hongjiu.lu@intel.com> writes:
>>
>> At RTL expansion time, the vzeroupper optimization generates a
>> vzeroupper_nop before function call and functin return if 256bit AVX
>> instructions are used. The vzeroupper pass is run before final pass.
>> It scans all reachable blocks:
>>
>> 1. Remove vzeroupper_nop when:
>> ? ? a. The upper 128bits of AVX regiters are known dead.
>
> Is dead the correct term here? It would seem to need "unused"
>

It has be to be cleared to zero, not unused.Maybe I should use zero.

-- 
H.J.


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