From 35f61ba4fc47619e360b8749994866fa3d9df601 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Mon, 14 Mar 2011 20:51:41 +0000 Subject: [PATCH] Fix fix to PR 48053 From-SVN: r170962 --- gcc/ChangeLog | 7 +++++++ gcc/config/rs6000/rs6000.md | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f5ed839e9b1..5dde051c242 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2011-03-14 Michael Meissner + + PR target/48053 + * config/rs6000/rs6000.md (movdi split for 32-bit): Don't split up + 64-bit constants being loaded into registers other than GPRs such + as loading 0 into a VSX register. + 2011-03-14 Rainer Orth * config/sol2.c (solaris_assemble_visibility): Remove obsolete diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 4455d9a8319..24fd5163eee 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -10071,7 +10071,8 @@ (define_split [(set (match_operand:DI 0 "gpc_reg_operand" "") (match_operand:DI 1 "const_int_operand" ""))] - "! TARGET_POWERPC64 && reload_completed" + "! TARGET_POWERPC64 && reload_completed + && gpr_or_gpr_p (operands[0], operands[1])" [(set (match_dup 2) (match_dup 4)) (set (match_dup 3) (match_dup 1))] " -- 2.30.2