gcc/
* config/i386/i386.c (standard_sse_constant_opcode): Fix wrong form for
vpcmpeqd instruction.
From-SVN: r255291
+2017-12-01 Sergey Shalnov <Sergey.Shalnov@intel.com>
+
+ * config/i386/i386.c (standard_sse_constant_opcode): Fix wrong form for
+ vpcmpeqd instruction.
+
2017-12-01 Sergey Shalnov <Sergey.Shalnov@intel.com>
* config/i386/i386.c (standard_sse_constant_opcode): Fix
case MODE_V2DF:
case MODE_V4SF:
gcc_assert (TARGET_SSE2);
- return (TARGET_AVX
- ? "vpcmpeqd\t%0, %0, %0"
- : "pcmpeqd\t%0, %0");
+ return (TARGET_AVX512F
+ ? "vpternlogd\t{$0xFF, %0, %0, %0|%0, %0, %0, 0xFF}"
+ : TARGET_AVX
+ ? "vpcmpeqd\t%0, %0, %0"
+ : "pcmpeqd\t%0, %0");
default:
gcc_unreachable ();