From: amacleod Date: Mon, 14 May 2001 17:47:07 +0000 (+0000) Subject: 2001-05-14 Andrew MacLeod X-Git-Tag: upstream/4.9.2~94449 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a443eae9d0dceb299cdba90e53c54c6bff95ae7;p=platform%2Fupstream%2Flinaro-gcc.git 2001-05-14 Andrew MacLeod * config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in extended precision divide. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42079 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f4fe95f..d647fd4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2001-05-14 Andrew MacLeod + * config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in + extended precision divide. + +2001-05-14 Andrew MacLeod + * config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier for RETURNS as well. diff --git a/gcc/config/ia64/lib1funcs.asm b/gcc/config/ia64/lib1funcs.asm index 67f0a89..75e79b0 100644 --- a/gcc/config/ia64/lib1funcs.asm +++ b/gcc/config/ia64/lib1funcs.asm @@ -17,27 +17,26 @@ __divtf3: (p6) cmp.ne p7, p0 = r0, r0 .pred.rel.mutex p6, p7 (p6) fnma.s1 f11 = farg1, f10, f1 -(p6) fmpy.s1 f12 = farg0, f10 +(p6) fma.s1 f12 = farg0, f10, f0 ;; -(p6) fmpy.s1 f13 = f11, f11 +(p6) fma.s1 f13 = f11, f11, f0 (p6) fma.s1 f14 = f11, f11, f11 ;; (p6) fma.s1 f11 = f13, f13, f11 (p6) fma.s1 f13 = f14, f10, f10 ;; (p6) fma.s1 f10 = f13, f11, f10 -(p6) fnma.s1 f12 = farg1, f12, farg0 +(p6) fnma.s1 f11 = farg1, f12, farg0 ;; (p6) fma.s1 f11 = f11, f10, f12 -(p6) fnma.s1 f13 = farg1, f10, f1 +(p6) fnma.s1 f12 = farg1, f10, f1 ;; (p6) fma.s1 f10 = f12, f10, f10 (p6) fnma.s1 f12 = farg1, f11, farg0 ;; -(p6) fma fret0 = f12, f10, f11 +(p6) fma.s0 fret0 = f12, f10, f11 (p7) mov fret0 = f10 br.ret.sptk rp - ;; .endp __divtf3 #endif