Re: [PATCH, i386]: Fix PR 91385, Zero-extended negation is not generated

2019-08-07 Thread Segher Boessenkool
On Wed, Aug 07, 2019 at 08:37:52PM +0200, Uros Bizjak wrote: > It looks that combine lost some of its unwanted creativity. Added > testcase will keep it that way. Huh, I wonder why it ever did that :-) Strange. > -;; Combine is quite creative about this pattern. > (define_insn "*negsi2_1_zext"

[PATCH, i386]: Fix PR 91385, Zero-extended negation is not generated

2019-08-07 Thread Uros Bizjak
It looks that combine lost some of its unwanted creativity. Added testcase will keep it that way. 2019-08-07 Uroš Bizjak PR target/91385 * config/i386/sse.md (*negsi2_1_zext): Simplify insn pattern. (*negsi2_cmpz_zext): Ditto. testsuite/ChangeLog: 2019-08-07 Uroš Bizjak P