mainline broken for powerpc-unknown-linux-gnu (Java -msoft-float)

Matt Kraai kraai@alumni.cmu.edu
Sun Apr 20 15:44:00 GMT 2003


Howdy,

The following patch implements David Edelson's suggestion in

 http://gcc.gnu.org/ml/gcc/2003-04/msg00950.html

It fixes the bootstrap failure on my powerpc-unknown-linux-gnu
system.  OK to commit?

Matt
-- 
Matt Kraai <kraai@alumni.cmu.edu>
Debian GNU/Linux Peon

       * config/rs6000/rs6000.md (*movsf_softfloat): Add "h" <- "0" case.

Index: gcc/config/rs6000/rs6000.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.md,v
retrieving revision 1.248
diff -c -3 -p -r1.248 rs6000.md
*** gcc/config/rs6000/rs6000.md	14 Apr 2003 22:54:35 -0000	1.248
--- gcc/config/rs6000/rs6000.md	20 Apr 2003 15:40:00 -0000
***************
*** 7862,7869 ****
     (set_attr "length" "4,4,4,4,4,4,4,4,4,4,8")])
  
  (define_insn "*movsf_softfloat"
!   [(set (match_operand:SF 0 "nonimmediate_operand" "=r,cl,q,r,r,m,r,r,r,r,r")
! 	(match_operand:SF 1 "input_operand" "r,r,r,h,m,r,I,L,R,G,Fn"))]
    "(gpc_reg_operand (operands[0], SFmode)
     || gpc_reg_operand (operands[1], SFmode))
     && (TARGET_SOFT_FLOAT || !TARGET_FPRS)"
--- 7862,7869 ----
     (set_attr "length" "4,4,4,4,4,4,4,4,4,4,8")])
  
  (define_insn "*movsf_softfloat"
!   [(set (match_operand:SF 0 "nonimmediate_operand" "=r,cl,q,r,r,m,r,r,r,r,r,*h")
! 	(match_operand:SF 1 "input_operand" "r,r,r,h,m,r,I,L,R,G,Fn,0"))]
    "(gpc_reg_operand (operands[0], SFmode)
     || gpc_reg_operand (operands[1], SFmode))
     && (TARGET_SOFT_FLOAT || !TARGET_FPRS)"
***************
*** 7878,7886 ****
     {liu|lis} %0,%v1
     {cal|la} %0,%a1
     #
!    #"
!   [(set_attr "type" "*,mtjmpr,*,*,load,store,*,*,*,*,*")
!    (set_attr "length" "4,4,4,4,4,4,4,4,4,4,8")])
  
  
  (define_expand "movdf"
--- 7878,7887 ----
     {liu|lis} %0,%v1
     {cal|la} %0,%a1
     #
!    #
!    {cror 0,0,0|nop}"
!   [(set_attr "type" "*,mtjmpr,*,*,load,store,*,*,*,*,*,*")
!    (set_attr "length" "4,4,4,4,4,4,4,4,4,4,8,4")])
  
  
  (define_expand "movdf"



More information about the Gcc-patches mailing list