This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ia64 division redux


How embarrasing.  I ran make check in the wrong tree, and
so committed changes with obvious typos.


r~

        * config/ia64/ia64.md (mulhi3): Fix typo last change.
        * config/ia64/lib1func.asm (__divdi3, __udivdi3, __umodsi3): Likewise.

Index: ia64.md
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/ia64/ia64.md,v
retrieving revision 1.44
diff -c -p -d -r1.44 ia64.md
*** ia64.md	2000/09/05 23:20:24	1.44
--- ia64.md	2000/09/06 01:43:32
***************
*** 1328,1334 ****
  	(mult:HI (match_operand:HI 1 "gr_register_operand" "r")
  		 (match_operand:HI 2 "gr_register_operand" "r")))]
    ""
!   "pmpy.r %0 = %1, %2"
    [(set_attr "type" "I")])
  
  
--- 1328,1334 ----
  	(mult:HI (match_operand:HI 1 "gr_register_operand" "r")
  		 (match_operand:HI 2 "gr_register_operand" "r")))]
    ""
!   "pmpy2.r %0 = %1, %2"
    [(set_attr "type" "I")])
  
  
Index: lib1funcs.asm
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/ia64/lib1funcs.asm,v
retrieving revision 1.7
diff -c -p -d -r1.7 lib1funcs.asm
*** lib1funcs.asm	2000/09/05 23:02:58	1.7
--- lib1funcs.asm	2000/09/06 01:43:32
*************** __divdi3:
*** 137,142 ****
--- 143,149 ----
  	;;
  	// Compute the reciprocal approximation.
  	frcpa.s1 f10, p6 = f8, f9
+ 	;;
  	// 3 Newton-Raphson iterations.
  (p6)	fnma.s1 f11 = f9, f10, f1
  (p6)	fmpy.s1 f12 = f8, f10
*************** __udivdi3:
*** 254,260 ****
  (p6)	fma.s1 f10 = f13, f10, f10
  (p6)	fnma.s1 f12 = f9, f11, f8
  	;;
! (p6)	fma.s1 f10 = f2, f10, f11
  	;;
  	// Round quotient to an unsigned integer.
  	fcvt.fxu.trunc.s1 f10 = f10
--- 261,267 ----
  (p6)	fma.s1 f10 = f13, f10, f10
  (p6)	fnma.s1 f12 = f9, f11, f8
  	;;
! (p6)	fma.s1 f10 = f12, f10, f11
  	;;
  	// Round quotient to an unsigned integer.
  	fcvt.fxu.trunc.s1 f10 = f10
*************** __umodsi3:
*** 482,487 ****
--- 489,495 ----
  (p6)	fmpy.s1 f12 = f8, f10
  (p6)	fnma.s1 f10 = f9, f10, f1
  	;;
+ 	setf.sig f9 = in1
  (p6)	fma.s1 f12 = f10, f12, f12
  (p6)	fma.s1 f10 = f10, f10, f11
  	;;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]