This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH i386 AVX512] [5/n] Adjust register's availabilty, allow wider masks.
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Kirill Yukhin <kirill dot yukhin at gmail dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, Richard Henderson <rth at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 12 Aug 2014 19:53:54 +0200
- Subject: Re: [PATCH i386 AVX512] [5/n] Adjust register's availabilty, allow wider masks.
- Authentication-results: sourceware.org; auth=none
- References: <20140812104518 dot GC26175 at msticlxl57 dot ims dot intel dot com>
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.