Message ID | CA+4CFy5yrLmyKSJpGe31SR756GzuPDgaQbyTyqKPY9wi0_3o1g@mail.gmail.com |
---|---|
State | New |
Headers | show |
yes. thanks, David On Thu, Aug 15, 2013 at 9:50 AM, Wei Mi <wmi@google.com> wrote: > Turning off X86_TUNE_USE_VECTOR_CONVERTS uses cvtss2sd instead of > unpcklps+cvtps2pd, which is better for some recent intel micro arch > such as westmere and sandybridge. So turn it off for m_GENERIC and > m_CORE_ALL. > > regression and bootstrap ok. ok for 4.8 branch? > > Index: config/i386/i386.c > =================================================================== > --- config/i386/i386.c (revision 201675) > +++ config/i386/i386.c (working copy) > @@ -1995,7 +1995,7 @@ static unsigned int initial_ix86_tune_fe > > /* X86_TUNE_USE_VECTOR_FP_CONVERTS: Prefer vector packed SSE conversion > from FP to FP. */ > - m_CORE_ALL | m_AMDFAM10 | m_GENERIC, > + m_AMDFAM10, > > /* X86_TUNE_USE_VECTOR_CONVERTS: Prefer vector packed SSE conversion > from integer to FP. */
Index: config/i386/i386.c =================================================================== --- config/i386/i386.c (revision 201675) +++ config/i386/i386.c (working copy) @@ -1995,7 +1995,7 @@ static unsigned int initial_ix86_tune_fe /* X86_TUNE_USE_VECTOR_FP_CONVERTS: Prefer vector packed SSE conversion from FP to FP. */ - m_CORE_ALL | m_AMDFAM10 | m_GENERIC, + m_AMDFAM10, /* X86_TUNE_USE_VECTOR_CONVERTS: Prefer vector packed SSE conversion from integer to FP. */