re PR target/89071 (AVX vcvtsd2ss lets us avoid PXOR dependency breaking for scalar...
authorUros Bizjak <ubizjak@gmail.com>
Sun, 3 Feb 2019 16:48:41 +0000 (17:48 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 3 Feb 2019 16:48:41 +0000 (17:48 +0100)
commitd31fd1e8ab24f5264894d4f887bcaacc5bc6ed40
tree11e17bf52abab0eb7f98daf964c893c107d034f8
parentc8eaf058ed6452f3648950b1fa68443bc8e5c106
re PR target/89071 (AVX vcvtsd2ss lets us avoid PXOR dependency breaking for scalar float<->double and other scalar xmm,xmm instructions)

PR target/89071
* config/i386/i386.md (*sqrt<mode>2_sse): Add (v,0) alternative.
Do not prefer (v,v) alternative for non-AVX targets and (m,v)
alternative for speed when TARGET_SSE_PARTIAL_REG_DEPENDENCY is set.
(*rcpsf2_sse): Ditto.
(*rsqrtsf2_sse): Ditto.
(sse4_1_round<mode<2): Ditto.

From-SVN: r268496
gcc/ChangeLog
gcc/config/i386/i386.md