Date: Fri, 15 Dec 2000 02:56:26 -0800 From: Julian Elischer <julian@elischer.org> To: smp@freebsd.org Subject: atomic increment? Message-ID: <3A39F8DA.FD4CA0A5@elischer.org>
index | next in thread | raw e-mail
CAn we have an atomic increment and decrement primative?
presently we get:
.L565:
movl $1,%eax
#APP
lock
addl %eax,4(%ebx)
the movl is totally useless and it would be
an absolutly trivial addition..
the question is;
is there a religious reason we don't already have it?
--
__--_|\ Julian Elischer
/ \ julian@elischer.org
( OZ ) World tour 2000
---> X_.---._/ presently in: Budapest
v
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A39F8DA.FD4CA0A5>
