+2014-10-17 Alexander Ivchenko <alexander.ivchenko@intel.com>
+ Maxim Kuznetsov <maxim.kuznetsov@intel.com>
+ Anna Tikhonova <anna.tikhonova@intel.com>
+ Ilya Tocar <ilya.tocar@intel.com>
+ Andrey Turetskiy <andrey.turetskiy@intel.com>
+ Ilya Verbin <ilya.verbin@intel.com>
+ Kirill Yukhin <kirill.yukhin@intel.com>
+ Michael Zolotukhin <michael.v.zolotukhin@intel.com>
+
+ * config/i386/i386.c (ix86_expand_sse2_mulvxdi3): Extend
+ expand_sse2_mulvxdi3.
+
2014-10-17 Richard Biener <rguenther@suse.de>
* fold-const.c (fold_comparison): Remove redundant constant
enum machine_mode mode = GET_MODE (op0);
rtx t1, t2, t3, t4, t5, t6;
- if (TARGET_XOP && mode == V2DImode)
+ if (TARGET_AVX512DQ)
+ {
+ rtx (*gen) (rtx, rtx, rtx);
+
+ if (mode == V8DImode)
+ gen = gen_avx512dq_mulv8di3;
+ else if (TARGET_AVX512VL)
+ {
+ if (mode == V4DImode)
+ gen = gen_avx512dq_mulv4di3;
+ else if (mode == V2DImode)
+ gen = gen_avx512dq_mulv2di3;
+ }
+ emit_insn (gen (op0, op1, op2));
+ }
+ else if (TARGET_XOP && mode == V2DImode)
{
/* op1: A,B,C,D, op2: E,F,G,H */
op1 = gen_lowpart (V4SImode, op1);