This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH i386 AVX512] [68/n] Add vpmullw, vpacksdw, pmaddwd insn patterns.
- From: Kirill Yukhin <kirill dot yukhin at gmail dot com>
- To: Uros Bizjak <ubizjak 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: Thu, 9 Oct 2014 15:09:44 +0400
- Subject: Re: [PATCH i386 AVX512] [68/n] Add vpmullw, vpacksdw, pmaddwd insn patterns.
- Authentication-results: sourceware.org; auth=none
- References: <20141009110745 dot GD25028 at msticlxl57 dot ims dot intel dot com>
On 09 Oct 15:07, Kirill Yukhin wrote:
> +(define_insn "*mul<mode>3<mask_name>"
> + [(set (match_operand:VI2_AVX2 0 "register_operand" "=x,v")
> + (mult:VI2_AVX2 (match_operand:VI2_AVX2 1 "nonimmediate_operand" "%0,v")
> + (match_operand:VI2_AVX2 2 "nonimmediate_operand" "xm,vm")))]
> + "TARGET_SSE2
> + && ix86_binary_operator_ok (MULT, <MODE>mode, operands)
> + && <mask_mode512bit_condition> && <mask_avx512bw_condition>"
Just noticed, that need to swap target check with operads check.
--
Thanks, K