[RS6000] Fix wrong mode reg

Fix thinko in rev 239011 (git d1d05ab7).

	* config/rs6000/rs6000.md (fix_trunc<mode>si2): Fix mode of reg.

From-SVN: r239217
This commit is contained in:
Alan Modra 2016-08-07 12:52:12 +09:30 committed by Alan Modra
parent d0bada86d1
commit 47e0b45f62
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2016-08-07 Alan Modra <amodra@gmail.com>
* config/rs6000/rs6000.md (fix_trunc<mode>si2): Fix mode of reg.
2016-08-07 Kugan Vivekanandarajah <kuganv@linaro.org>
* data-streamer-in.c (streamer_read_wide_int): New.

View File

@ -5357,7 +5357,7 @@
{
if (!<E500_CONVERT>)
{
rtx src = force_reg (SFmode, operands[1]);
rtx src = force_reg (<MODE>mode, operands[1]);
if (TARGET_STFIWX)
emit_insn (gen_fix_trunc<mode>si2_stfiwx (operands[0], src));