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]

Re: [PATCH, i386]: Fix PR 91188, strict_low_part operations do not work


On Thu, Jul 18, 2019 at 7:23 PM Uros Bizjak <ubizjak@gmail.com> wrote:
>
> Attached patch fixes several strict_low_part insn patterns to operate
> only on register outputs. Also, the patch paves the was for patterns
> to handle unmatched registers (once PR82524) is fixed, and allows
> patterns to operate on HImode operands.

Please note that variable shifts currently don't trigger this
optimization (but constant shift do) due to unnecessary promotion to
int, as reported in PR91202 [1].

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91202

Uros.


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