[PATCH i386 AVX512] [5/n] Adjust register's availabilty, allow wider masks.
Uros Bizjak
ubizjak@gmail.com
Tue Aug 12 17:54:00 GMT 2014
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.
More information about the Gcc-patches
mailing list