NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: port-macppc/50228

The following reply was made to PR port-macppc/50228; it has been noted by GNATS.

From: matthew green <>
To: (Christos Zoulas)
Subject: re: port-macppc/50228
Date: Tue, 13 Dec 2016 12:37:41 +1100

 Christos Zoulas writes:
 > On Dec 12,  9:45pm, (Christian Groessler) wrote:
 > -- Subject: Re: port-macppc/50228
 > |  I've added a check for zero size right at the beginning of "bzero" and
 > |  this change fixes the problem for me:
 > But doesn't memset() need the same?
 it has them?
                 cmplwi  %cr1, %r5, 0
                 mr.     %r0, %r4
                 mr      %r8, %r3
                 beqlr-  %cr1                    /* Nothing to do */
 [ .. ]

Home | Main Index | Thread Index | Old Index