This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, committed] PowerPC movdi (PR 16239)
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 26 Jul 2004 10:45:00 -0400
- Subject: [PATCH, committed] PowerPC movdi (PR 16239)
Allocating DImode to FPR causes problems in reload. This patch
further disparages that option, which changes the class in register
allocator dumps from NON_SPECIAL_REGS to NON_FLOAT_REGS.
David
PR target/16239
* config/rs6000/rs6000.md (movdi_internal64): Further disparage
f->f.
Index: rs6000.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.md,v
retrieving revision 1.312
diff -c -p -r1.312 rs6000.md
*** rs6000.md 15 Jul 2004 21:07:49 -0000 1.312
--- rs6000.md 26 Jul 2004 14:28:02 -0000
***************
*** 8594,8600 ****
}")
(define_insn "*movdi_internal64"
! [(set (match_operand:DI 0 "nonimmediate_operand" "=r,r,m,r,r,r,r,?f,f,m,r,*h,*h")
(match_operand:DI 1 "input_operand" "r,m,r,I,L,nF,R,f,m,f,*h,r,0"))]
"TARGET_POWERPC64
&& (gpc_reg_operand (operands[0], DImode)
--- 8594,8600 ----
}")
(define_insn "*movdi_internal64"
! [(set (match_operand:DI 0 "nonimmediate_operand" "=r,r,m,r,r,r,r,??f,f,m,r,*h,*h")
(match_operand:DI 1 "input_operand" "r,m,r,I,L,nF,R,f,m,f,*h,r,0"))]
"TARGET_POWERPC64
&& (gpc_reg_operand (operands[0], DImode)