re PR target/79354 (-mcpu=power8 -O2 generates power9 instruction on powerpc64le...
authorJakub Jelinek <jakub@redhat.com>
Fri, 3 Feb 2017 17:34:56 +0000 (18:34 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 3 Feb 2017 17:34:56 +0000 (18:34 +0100)
commit437f0a81bdd733c66a0ed6172ccd2ac6a0e623d4
tree36e22b4bb1d13399138350ad2ff5a919ac53f28b
parent3f3430400b2ce552a5dbdae49a3a482687b96afa
re PR target/79354 (-mcpu=power8 -O2 generates power9 instruction on powerpc64le-linux)

PR target/79354
* config/rs6000/rs6000.md (movsi_from_sf): Use wb constraint instead of
wu for stxssp alternative.

* gcc.target/powerpc/pr79354.c: New test.
* gcc.c-torture/execute/pr79354.c: New test.

From-SVN: r245157
gcc/ChangeLog
gcc/config/rs6000/rs6000.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr79354.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr79354.c [new file with mode: 0644]