[RS6000] e500 part of pr71680
authorAlan Modra <amodra@gmail.com>
Wed, 10 Aug 2016 05:43:36 +0000 (15:13 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Wed, 10 Aug 2016 05:43:36 +0000 (15:13 +0930)
commitc4e9cff61cfdad1a86927019df6bf27abef2709f
treec59c5d35f65562c7e1b8347eaa3db0fad9510d1f
parent6bbd98101c27fc011dd778be8b0ec805dccf0e56
[RS6000] e500 part of pr71680

The fallback part of HARD_REGNO_CALLER_SAVE_MODE, choose_hard_reg_mode,
returns DFmode for SImode when TARGET_E500_DOUBLE.  This confuses
lra when attempting to save ctr around a call.

PR target/71680
* config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Return
SImode for TARGET_E500_DOUBLE when given SImode.

From-SVN: r239317
gcc/ChangeLog
gcc/config/rs6000/rs6000.h