[PATCH, i386, AVX] Fix typo in i386.c/standard_sse_constant_opcode ().

Kirill Yukhin kirill.yukhin@gmail.com
Wed Mar 23 11:48:00 GMT 2016


On 23 Mar 04:36, H.J. Lu wrote:
> On Wed, Mar 23, 2016 at 4:28 AM, Kirill Yukhin <kirill.yukhin@gmail.com> wrote:
> > diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
> > index 1639704..7f5db75 100644
> > --- a/gcc/config/i386/i386.c
> > +++ b/gcc/config/i386/i386.c
> > @@ -10859,7 +10859,7 @@ standard_sse_constant_opcode (rtx_insn *insn, rtx x)
> >           || get_attr_mode (insn) == MODE_V8DF
> >           || get_attr_mode (insn) == MODE_V16SF)
> >         return "vpternlogd\t{$0xFF, %g0, %g0, %g0|%g0, %g0, %g0, 0xFF}";
> > -      if (TARGET_AVX)
> > +      if (TARGET_AVX2)
> >         return "vpcmpeqd\t%0, %0, %0";
> >        else
> >         return "pcmpeqd\t%0, %0";
> >
> 
> Don't we want vpcmpeqd for 128-bit -1?
Well, we have `pcmpeqd' convering same range of regnumx for XMMs. So, why?
> 
> -- 
> H.J.

--
Thanks, K



More information about the Gcc-patches mailing list