[PATCH][PR target/97642] Fix incorrect replacement of vmovdqu32 with vpblendd.

Hongtao Liu crazylht@gmail.com
Thu Nov 26 04:47:29 GMT 2020


On Wed, Nov 25, 2020 at 7:37 PM Jakub Jelinek <jakub@redhat.com> wrote:
>
> On Wed, Nov 25, 2020 at 07:32:44PM +0800, Hongtao Liu wrote:
> > Update patch:
> >   1. ix86_expand_special_args_builtin is used for expanding mask load
> > intrinsics, this function will always convert the constant mask
> > operands into reg. So for the situation of all-ones mask, keep this
> > constant, and also change the mask operand predicate(of corresponding
> > expander) to register_or_constm1_operand.
> >   2. Delete last_arg_constant which is not used in
> > ix86_expand_special_args_builtin(maybe should be in a separate patch?)
>
> Yes, please make it a separate patch, it should go in first and
> should just drop last_arg_constant from that function plus the
> reindentation.
>
> Then post the PR97642 incremental to that.
>

Updated.

> Thanks.
>
>         Jakub
>

-- 
BR,
Hongtao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-incorrect-replacement-of-vmovdqu32-with-vpblendd.patch
Type: text/x-patch
Size: 27019 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201126/c9a807c5/attachment-0001.bin>


More information about the Gcc-patches mailing list