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 TARGET_USE_VECTOR_FP_CONVERTS to x86 backend


On Wed, Oct 8, 2008 at 12:04 PM, H.J. Lu <hjl.tools@gmail.com> wrote:

> FP to FP splitters in i386.md check both feature and target with
>
> (TARGET_USE_VECTOR_CONVERTS || TARGET_GENERIC)
>
> instead of just feature. This patch adds TARGET_USE_VECTOR_FP_CONVERTS
> and turns the splitter condition to just TARGET_USE_VECTOR_FP_CONVERTS.
> OK for trunk?
>
> Thanks.
>
>
> H.J.
> ---
> 2008-10-08  H.J. Lu  <hongjiu.lu@intel.com>
>
>        * config/i386/i386.c (initial_ix86_tune_features): Add
>        X86_TUNE_USE_VECTOR_FP_CONVERTS.
>        * config/i386/i386.h (ix86_tune_indices): Likewise.
>        (TARGET_USE_VECTOR_FP_CONVERTS): New.
>
>        * config/i386/i386.md: Check TARGET_USE_VECTOR_FP_CONVERTS
>        instead of (TARGET_USE_VECTOR_CONVERTS || TARGET_GENERIC)
>        for FP to FP splitters.

OK for mainline.

Thanks,
Uros.


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