diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2001-05-14 17:47:07 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2001-05-14 17:47:07 +0000 |
commit | f327ea3ebe7002f966b19720d33c7b026b53143a (patch) | |
tree | dce3871f06bfe11acd7a2fc826cd4581797f9a4d /gcc | |
parent | 339cb12e415b49a5c8cd8b07c5506ffdc8517261 (diff) | |
download | gcc-f327ea3ebe7002f966b19720d33c7b026b53143a.zip gcc-f327ea3ebe7002f966b19720d33c7b026b53143a.tar.gz gcc-f327ea3ebe7002f966b19720d33c7b026b53143a.tar.bz2 |
lib1funcs.asm (__divtf3): Fix incorrect bits in extended precision divide.
2001-05-14 Andrew MacLeod <amacleod@redhat.com>
* config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in
extended precision divide.
From-SVN: r42079
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/ia64/lib1funcs.asm | 11 |
2 files changed, 10 insertions, 6 deletions
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 <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. 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 |