rs6000.c (registers_ok_for_quad_peep): Return false if we do not have fp register.
authorAndrew Pinski <pinskia@physics.uc.edu>
Wed, 28 Apr 2004 23:03:31 +0000 (23:03 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Wed, 28 Apr 2004 23:03:31 +0000 (16:03 -0700)
commit90f81f99b195b2f31ed953f71148e35e021db8e3
tree333829961ff681e44edfcbcb53b8b69b14a89be3
parentea16c81bfa18875f220ca534485c14ebca501c5d
rs6000.c (registers_ok_for_quad_peep): Return false if we do not have fp register.

2004-04-28  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/rs6000/rs6000.c (registers_ok_for_quad_peep):
        Return false if we do not have fp register.
        (addrs_ok_for_quad_peep): Rename to ...
        (mems_ok_for_quad_peep): this.
        Add check for volatile memory.
        * config/rs6000/rs6000-protos.h (addrs_ok_for_quad_peep):
        Rename to ...
        (mems_ok_for_quad_peep): this.
        * config/rs6000/rs6000.md: Change peephole's for lfq/stq
        to peephole2's.
        (lfq_power2): New instruction.
        (stfq_power2): Likewise.

2004-04-28  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.dg/rs6000-power2-1.c: New test.
        * gcc.dg/rs6000-power2-2.c: New test.

From-SVN: r81262
gcc/ChangeLog
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/rs6000-power2-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/rs6000-power2-2.c [new file with mode: 0644]