Hello Sergey, On 24 Nov 15:44, Shalnov, Sergey wrote: > Hi, > I found wrong vpcmpeqd instruction form generated in case of > "-march=skylake-avx512 -mprefer-vector-width=128" options set > > The compiler emits following error at compile stage: > Error: invalid register operand for `vpcmpeqd' > > Because following was generated: > vpcmpeqd %xmm16, %xmm16, %xmm16 > > In this form the instruction can use zmm0-xmm15 registers only. > > > 2017-11-24 Sergey Shalnov <sergey.shal...@intel.com> > gcc/ > * config/i386/i386.c (standard_sse_constant_opcode): > Fix wrong form for vpcmpeqd instruction Patch is OK. I've checked it into main trunk.
-- Thanks, K