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 i386 AVX512] [5/n] Adjust register's availabilty, allow wider masks.


On Tue, Aug 12, 2014 at 12:45 PM, Kirill Yukhin <kirill.yukhin@gmail.com> wrote:
> Hello,
> Attached patch allows wider mask types.
>
> Is it ok for trunk?
>
> Bootstrapped.
>
> gcc/
>         * config/i386/i386.c (print_reg): Ðorrectly print 64-bit mask
>         registers.
>         (inline_secondary_memory_needed): Allow 64 bit wide mask registers.
>         (ix86_hard_regno_mode_ok): Allow 32/64-bit mask registers and
>         xmm/ymm16+ when availble.
>         * config/i386/i386.h
>         (HARD_REGNO_NREGS): Add mask regs.
>         (VALID_AVX512F_REG_MODE): Ditto.
>         (VALID_AVX512F_REG_MODE) : Define.
>         (VALID_MASK_AVX512BW_MODE): Ditto.
>         (reg_class) (MASK_REG_P(X)): Define.
>         * config/i386/i386.md: Do not split long moves with mask register,
>         use kmovb if avx512bw is availible.
>         (movdi_internal): Handle mask registers.

OK.

Thanks,
Uros.


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