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: [Google] X86_TUNE_USE_VECTOR_CONVERTS adjustment


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]