🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #141

Re: Performance of xchg reg,reg

#141
From: Lawrence D’Oliveiro
Date: Thu, 15 Oct 2026 21:42
6 lines
1444 bytes
On Thu, 15 Oct 2026 14:21:07 -0700, Chris M. Thomasson wrote:

> Well, for some reason the LOCK prefix is implied for XCHG.

I can imagine that being useful when accessing memory, but not just
for exchanging registers ...
Technical Details
Message-ID: <11arhcb$2p8h1$7@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <2026Oct13.104347@mips.complang.tuwien.ac.at> <11arg45$2p70p$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D’Oliveiro <ldo@nz.invalid>
Newsgroups: comp.arch
Subject: Re: Performance of xchg reg,reg
Date: Thu, 15 Oct 2026 21:42:35 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <11arhcb$2p8h1$7@dont-email.me>
References: <2026Oct13.104347@mips.complang.tuwien.ac.at>
	<11arg45$2p70p$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 15 Oct 2026 21:42:36 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2925089"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18CjvCL2VasNxlRtYgvt1QZ"; posting-host="9e9d07bb7cf82d8413472acd2badee74"
User-Agent: Pan/0.165 (Kostiantynivka)
Cancel-Lock: sha1:RXLAyrbgaSl4S38F6GDflCFuEX4= sha256:KiZGgN2joJ4RjMGj7zOgRNrS7fm7LN+z8rMGDCj9XcI=
	sha1:WPENWqk3uQBpG1ipyscNFpGilLM= sha256:YghSx+VYCuWQ3swxob7uCgX2aXfikBuJMFdWcvKqz04=