[PATCH]Don't use pinsr for struct initialization.
Fri Aug 14 09:57:18 GMT 2020
On Fri, Aug 14, 2020 at 8:03 AM Hongtao Liu <email@example.com> wrote:
> For struct initialization, when it fits in a TImode, gcc will use
> pinsr insn which causes poor codegen described in PR93897 and PR96562.
You should probably remove TImode handling also from ix86_expand_pextr.
> Bootstrap is ok, regression test is ok for i386/x86-64 backend.
> Ok for trunk?
> PR target/96562
> PR target/93897
> * config/i386/i386-expand.c (ix86_expand_pinsr): Don't use
> pinsr for TImode.
> * gcc.target/i386/pr96562-1.c: New test.
More information about the Gcc-patches