rs6000: Fix *movsi_from_df (PR88892)
authorSegher Boessenkool <segher@kernel.crashing.org>
Fri, 18 Jan 2019 18:01:56 +0000 (19:01 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Fri, 18 Jan 2019 18:01:56 +0000 (19:01 +0100)
commit225220d668dafb8262db7012bced688acbe63b33
treec1ff1a80a7770c16c2227e30060fc5720fc23755
parent8b248c17bd9999eb3adb585b0789595bada43e8c
rs6000: Fix *movsi_from_df (PR88892)

The memory store instructions (stfs[u][x], stxssp[x]) can result in
garbage if the value to be stored isn't already a valid single
precision floating point number.  So we cannot use this here.

PR target/88892
* config/rs6000/rs6000.md (*movsi_from_df): Allow only register
operands.

From-SVN: r268083
gcc/ChangeLog
gcc/config/rs6000/rs6000.md