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 <mrg%eterna.com.au@localhost>
To: christos%zoulas.com@localhost (Christos Zoulas)
Cc: gnats-bugs%NetBSD.org@localhost, port-macppc-maintainer%netbsd.org@localhost,
    gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, chris%groessler.org@localhost
Subject: re: port-macppc/50228
Date: Tue, 13 Dec 2016 12:37:41 +1100

 Christos Zoulas writes:
 > On Dec 12,  9:45pm, chris%groessler.org@localhost (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?
 
 ENTRY(memset)   
                 cmplwi  %cr1, %r5, 0
                 mr.     %r0, %r4
                 mr      %r8, %r3
                 beqlr-  %cr1                    /* Nothing to do */
 [ .. ]
 
 
 .mrg.
 


Home | Main Index | Thread Index | Old Index