predicates.md (ca_operand): Allow subregs.
authorSegher Boessenkool <segher@kernel.crashing.org>
Sun, 21 Sep 2014 17:56:25 +0000 (19:56 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Sun, 21 Sep 2014 17:56:25 +0000 (19:56 +0200)
commit714355645971432ccd9523fcf3ffa2eb3e7cd610
tree935effe7731196db04a1efd09eb0a74086796fd0
parent1c173a32b193c4c75062cc8c3953e329d5cd7e88
predicates.md (ca_operand): Allow subregs.

2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>

* config/rs6000/predicates.md (ca_operand): Allow subregs.
(input_operand): Do not allow ca_operand.
* config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): For the
carry bit, allow SImode and Pmode.
(rs6000_init_hard_regno_mode_ok): Make the carry bit class NO_REGS.

From-SVN: r215429
gcc/ChangeLog
gcc/config/rs6000/predicates.md
gcc/config/rs6000/rs6000.c