This is the mail archive of the 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 i386 AVX512] [32/n] Add reduce,range,fpclass.

On Tue, Sep 9, 2014 at 1:41 PM, Kirill Yukhin <> wrote:
> On 30 Aug 10:21, Uros Bizjak wrote:
> Hello,
>> It looks to me that _SCALAR unspecs are redundant, and should be
>> possible to use UNSPEC_REDUCE for all patterns without unwanted
>> matching.
> Updated patch in the bottom
> gcc/
>         * config/i386/i386.c
>         (ix86_expand_args_builtin): Handle avx512dq_rangepv8df_mask_round,
>         avx512dq_rangepv16sf_mask_round, avx512dq_rangepv4df_mask,
>         avx512dq_rangepv8sf_mask, avx512dq_rangepv2df_mask,
>         avx512dq_rangepv4sf_mask.
>         * config/i386/
>         (define_c_enum "unspec"): Add UNSPEC_REDUCE, UNSPEC_FPCLASS,
>         UNSPEC_RANGE.
>         (define_insn "<mask_codefor>reducep<mode><mask_name>"): New.
>         (define_insn "reduces<mode>"): New.
>         (define_insn "avx512dq_rangep<mode><mask_name><round_saeonly_name>"):
>         New.
>         (define_insn "avx512dq_ranges<mode><round_saeonly_name>"): New.
>         (define_insn "avx512dq_fpclass<mode><mask_scalar_merge_name>"): New.
>         (define_insn "avx512dq_vmfpclass<mode>"): New.
> Bootstrapped.
> Is it ok for trunk?



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