Date: Mon, 30 Sep 2002 12:02:44 -0400 (EDT) From: Andrew Gallatin <gallatin@cs.duke.edu> To: freebsd-ppc@freebsd.org Cc: jkh@freebsd.org Subject: atomic.h vs atomic.s Message-ID: <15768.30116.381592.891890@grasshopper.cs.duke.edu>
next in thread | raw e-mail | index | archive | help
When poking around, trying to figure out my mcl problem, I noticed that the atomic.s code uses an eieio followed by a sync, whereas the code in atomic.h uses just eieio. From my (admittedly very limited) knowledge of ppc, I'd think we should be using just sync (like netbsd does). Or it could be that the atomic stwcx instruction implies a sync.. Jordan: Are we allowed to use the Darwin sources as a reference for things like this? Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ppc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15768.30116.381592.891890>