Date: Sun, 21 Oct 2001 22:00:36 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: Marcel Moolenaar <marcel@xcllnt.net> Cc: Peter Wemm <peter@wemm.org>, <ia64@FreeBSD.ORG> Subject: Re: Hazards [was: Re: cvs commit: src/sys/ia64/ia64 sal.c] Message-ID: <20011021220023.A549-100000@salmon.nlsystems.com> In-Reply-To: <20011021125835.A2668@kayak.xcllnt.net>
index | next in thread | previous in thread | raw e-mail
On Sun, 21 Oct 2001, Marcel Moolenaar wrote: > On Sun, Oct 21, 2001 at 11:58:00AM +0100, Doug Rabson wrote: > > > > > > > > > > According to ski this gives: > > > > > 400000000003e500 cmp.ge p6=r0,r33 > > > > MIB > > > > > nop.i 0x0 > > > > > ! (p6) br.ret.spnt.few b0 > > > > > 400000000003e510 nop.m 0x0 > > > > MII > > > > > mov.i r14=ar.lc > > > > > cmp.ltu p6=17,r33 > > > > > > > > > Aah, I see the problem now. What is the function name which contains this > > code? > > The function is bzero(). Ouch... This ought to fix it: Index: bzero.S =================================================================== RCS file: /home/ncvs/src/lib/libc/ia64/string/bzero.S,v retrieving revision 1.3 diff -u -r1.3 bzero.S --- bzero.S 2001/09/22 18:27:01 1.3 +++ bzero.S 2001/10/21 21:02:03 @@ -32,7 +32,7 @@ cmp.le p6,p0=in1,r0 // bail if len <= 0 (p6) br.ret.spnt.few rp - + ;; mov r14=ar.lc // save ar.lc cmp.ltu p6,p0=17,in1 // check for small -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the messagehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011021220023.A549-100000>
