i386: Do not use commutative operands with (use) RTX [PR95238]
authorUros Bizjak <ubizjak@gmail.com>
Wed, 20 May 2020 23:53:09 +0000 (01:53 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Wed, 20 May 2020 23:53:09 +0000 (01:53 +0200)
commit7797f5ec58078523a452e5cf239596e13d77d885
tree468c0426690d7f00efe660c9c38ba5670855bfe9
parent14984ea1645da45e59872d84401394a759c2659c
i386: Do not use commutative operands with (use) RTX [PR95238]

2020-05-21  Uroš Bizjak  <ubizjak@gmail.com>

gcc/ChangeLog:
PR target/95218

* config/i386/mmx.md (*mmx_<code>v2sf): Do not mark
operands 1 and 2 commutative.  Manually swap operands.
(*mmx_nabsv2sf2): Ditto.

Partially revert:

* config/i386/i386.md (*<code>tf2_1):
Mark operands 1 and 2 commutative.
(*nabstf2_1): Ditto.
* config/i386/sse.md (*<code><mode>2): Mark operands 1 and 2
commutative.  Do not swap operands.
(*nabs<mode>2): Ditto.
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/config/i386/mmx.md
gcc/config/i386/sse.md