predicates.md (add_cint_operand): New.
commitb6872a13898d89eb0d52a2d306ae754d677b7819
authorAlan Modra <amodra@gmail.com>
Mon, 9 Sep 2013 23:40:34 +0000 (10 09:10 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Mon, 9 Sep 2013 23:40:34 +0000 (10 09:10 +0930)
treeae6cc003997d65562a22922705a5239896f8ec90
parent904e9dbbabdd2184894afbf63edcf6b6a4544055
predicates.md (add_cint_operand): New.

gcc/
* config/rs6000/predicates.md (add_cint_operand): New.
(reg_or_add_cint_operand, small_toc_ref): Use add_cint_operand.
* config/rs6000/rs6000.md (largetoc_high_plus): Restrict offset
using add_cint_operand.
(largetoc_high_plus_aix): Likewise.
gcc/testsuite/
* gcc.target/powerpc/medium_offset.c: New.

From-SVN: r202417
gcc/ChangeLog
gcc/config/rs6000/predicates.md
gcc/config/rs6000/rs6000.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/medium_offset.c [new file with mode: 0644]