This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH i386 AVX512] [61/n] Update FP logic insn patterns.
- 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: Fri, 3 Oct 2014 13:05:33 +0200
- Subject: Re: [PATCH i386 AVX512] [61/n] Update FP logic insn patterns.
- Authentication-results: sourceware.org; auth=none
- References: <20140926123231 dot GA5256 at msticlxl57 dot ims dot intel dot com> <CAFULd4awHg8zkO-TkMCwFVj=OSLD7c8dytBT8jy+GFkp73qRJA at mail dot gmail dot com> <20141003104909 dot GB50880 at msticlxl57 dot ims dot intel dot com>
On Fri, Oct 3, 2014 at 12:49 PM, Kirill Yukhin <kirill.yukhin@gmail.com> wrote:
> Hello UroÅ,
> On 29 Sep 10:00, Uros Bizjak wrote:
>> > + /* There is no vandnp[sd] in avx512f. Use vpandn[qd]. */
>> > + if (!TARGET_AVX512DQ)
>>
>> All other patterns also have "<mask_applied> &&" condition here. Is
>> the above condition correct?
> I think this is correct since in this pattern we use AVX-512 only modes
> in iterator, so no chance to emit anything else but EVEX insn.
> In say, previous pattern we use modes are enabled for previous ISA extensions,
> so we emit this hack when masking (AVX-512 specific feature) is used.
Thanks for the explanation, the patch is OK.
Thanks,
Uros.