Re: How to find out register information at the beginning of a basic block?

2010-05-31 Thread Vladimir N. Makarov
On 05/31/2010 08:17 PM, H.J. Lu wrote: On Mon, May 31, 2010 at 12:31 PM, Vladimir Makarov wrote: H.J. Lu wrote: Hi, I am working on generating vzeroupper to avoid AVX->SSE transition penalty. I have generated vzeroupper on function return as well as function call. I am working on

Re: How to find out register information at the beginning of a basic block?

2010-05-31 Thread H.J. Lu
On Mon, May 31, 2010 at 12:31 PM, Vladimir Makarov wrote: > H.J. Lu wrote: >> >> Hi, >> >> I am working on generating vzeroupper to avoid AVX->SSE transition >> penalty. >> >> I have generated vzeroupper on function return as well as function >> call.  I am working on a backend pass to eliminate t

Re: How to find out register information at the beginning of a basic block?

2010-05-31 Thread Vladimir Makarov
H.J. Lu wrote: On Mon, May 31, 2010 at 12:31 PM, Vladimir Makarov wrote: H.J. Lu wrote: Hi, I am working on generating vzeroupper to avoid AVX->SSE transition penalty. I have generated vzeroupper on function return as well as function call. I am working on a backend pass to eliminat

Re: How to find out register information at the beginning of a basic block?

2010-05-31 Thread H.J. Lu
On Mon, May 31, 2010 at 12:31 PM, Vladimir Makarov wrote: > H.J. Lu wrote: >> >> Hi, >> >> I am working on generating vzeroupper to avoid AVX->SSE transition >> penalty. >> >> I have generated vzeroupper on function return as well as function >> call.  I am working on a backend pass to eliminate t

Re: How to find out register information at the beginning of a basic block?

2010-05-31 Thread Vladimir Makarov
H.J. Lu wrote: Hi, I am working on generating vzeroupper to avoid AVX->SSE transition penalty. I have generated vzeroupper on function return as well as function call. I am working on a backend pass to eliminate those vzeroupper instructions when I can prove that the upper 128bits of AVX regis

How to find out register information at the beginning of a basic block?

2010-05-31 Thread H.J. Lu
Hi, I am working on generating vzeroupper to avoid AVX->SSE transition penalty. I have generated vzeroupper on function return as well as function call.  I am working on a backend pass to eliminate those vzeroupper instructions when I can prove that the upper 128bits of AVX registers are dead at