re PR target/48053 (ICE in in build_int_cst_wide, when building cpu2000 galgel/equake...
authorPeter Bergner <bergner@vnet.ibm.com>
Sun, 13 Mar 2011 04:06:41 +0000 (22:06 -0600)
committerPeter Bergner <bergner@gcc.gnu.org>
Sun, 13 Mar 2011 04:06:41 +0000 (22:06 -0600)
commit12b1c80b30196a9c2eabcc460fd156263ac46f48
tree571dd6e74f8935441e98fef4f689ce9b40354658
parentd39ac823a3e78ec20f62188898cb834c2315516b
re PR target/48053 (ICE in in build_int_cst_wide, when building cpu2000 galgel/equake/ammp/fma3d/sixtrack)

gcc/
PR target/48053
* config/rs6000/predicates.md (easy_vector_constant_add_self,
easy_vector_constant_msb): Do not handle V2DImode and V2DFmode.
* config/rs6000/rs6000.c (const_vector_elt_as_int): Add assert that
mode is not V2DImode or V2DFmode.
(vspltis_constant): Do not handle V2DImode and V2DFmode.
(rs6000_expand_vector_init): Replace copy_to_reg with copy_to_mode_reg.
* config/rs6000/rs6000.md (movdi_internal32): Allow setting VSX
registers to 0.
(movdi_internal64): Likewise.

gcc/testsuite/
PR target/48053
* gcc/testsuite/gcc.target/powerpc/pr48053-1.c: New test.
* gcc/testsuite/gcc.target/powerpc/pr48053-2.c: Likewise.

From-SVN: r170920
gcc/ChangeLog
gcc/config/rs6000/predicates.md
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr48053-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr48053-2.c [new file with mode: 0644]