This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, i386]: Fix PR84431, suboptimal code for masked shifts


2018-04-28  Uros Bizjak  <ubizjak@gmail.com>

    PR target/84431
    * config/i386/i386.md (*ashl<dwi>3_doubleword_mask): New pattern.
    (*ashl<dwi>3_doubleword_mask_1): Ditto.
    (*<shift_insn><dwi>3_doubleword_mask): Ditto.
    (*<shift_insn><dwi>3_doubleword_mask_1): Ditto.

testsuite/ChangeLog:

2018-04-28  Uros Bizjak  <ubizjak@gmail.com>

    PR target/84431
    * gcc.target/i386/pr84431.c: New test.

Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}.

Committed to mainline SVN.

Uros.

Attachment: p.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]