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] [68/n] Add vpmullw, vpacksdw, pmaddwd insn patterns.


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


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