From: Richard Henderson Date: Wed, 13 Sep 2000 21:21:33 +0000 (-0700) Subject: * config/ia64/lib1funcs.asm (__divsf3): Protect fnorm.s with p6. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=938566fbe53f9fb8e9a9bdee88ef09fa2db4ba6e;p=platform%2Fupstream%2Fgcc.git * config/ia64/lib1funcs.asm (__divsf3): Protect fnorm.s with p6. From-SVN: r36395 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b4a8d56..8ea0314 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-09-13 Richard Henderson + + * config/ia64/lib1funcs.asm (__divsf3): Protect fnorm.s with p6. + 2000-09-13 Stephane Carrez * flags.h (flag_dump_rtl_in_asm): Declare. diff --git a/gcc/config/ia64/lib1funcs.asm b/gcc/config/ia64/lib1funcs.asm index 5e1b8fc..1296c1e 100644 --- a/gcc/config/ia64/lib1funcs.asm +++ b/gcc/config/ia64/lib1funcs.asm @@ -96,8 +96,11 @@ __divdf3: .global __divsf3 .proc __divsf3 __divsf3: + cmp.eq p7, p0 = r0, r0 frcpa.s0 f10, p6 = farg0, farg1 ;; +(p6) cmp.ne p7, p0 = r0, r0 + .pred.rel.mutex p6, p7 (p6) fmpy.s1 f8 = farg0, f10 (p6) fnma.s1 f9 = farg1, f10, f1 ;; @@ -109,7 +112,8 @@ __divsf3: ;; (p6) fma.d.s1 f10 = f9, f8, f8 ;; - fnorm.s.s0 fret0 = f10 +(p6) fnorm.s.s0 fret0 = f10 +(p7) mov fret0 = f10 br.ret.sptk rp ;; .endp __divsf3