2001-05-14 Andrew MacLeod <amacleod@redhat.com>
authoramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 May 2001 17:47:07 +0000 (17:47 +0000)
committeramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 May 2001 17:47:07 +0000 (17:47 +0000)
* 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

gcc/ChangeLog
gcc/config/ia64/lib1funcs.asm

index f4fe95f..d647fd4 100644 (file)
@@ -1,5 +1,10 @@
 2001-05-14  Andrew MacLeod  <amacleod@redhat.com>
 
+       * config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in
+       extended precision divide.
+
+2001-05-14  Andrew MacLeod  <amacleod@redhat.com>
+
        * config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier
        for RETURNS as well.
 
index 67f0a89..75e79b0 100644 (file)
@@ -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