Article View: comp.arch
Article #250Re: Performance of xchg reg,reg
From: Stefan Monnier
Date: Tue, 20 Oct 2026 14:05
Date: Tue, 20 Oct 2026 14:05
14 lines
2022 bytes
2022 bytes
Dan Cross [2026-10-20 02:00:48] wrote: > In article <jwv8q3uqrxf.fsf-monnier+comp.arch@gnu.org>, > Stefan Monnier <monnier@iro.umontreal.ca> wrote: >>How could code witness the difference? > The effects of a bus lock include disallowing memory operations > (except for instruction fetches or page table accesses) passing > a locked operation. Ah, so it doesn't just make the operation atomic, but it additionally imposes barrier-style restrictions on reordering surrounding memory operations? I see, thanks. === Stefan
Technical Details
Message-ID:
<jwvzew8mpwv.fsf-monnier+comp.arch@gnu.org>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-mailReferences:
<2026Oct13.104347@mips.complang.tuwien.ac.at> <20261018184318.00000bee@yahoo.com> <2026Oct18.185726@mips.complang.tuwien.ac.at> <jwv8q3uqrxf.fsf-monnier+comp.arch@gnu.org> <11b6i0g$f44$1@reader2.panix.com>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: Stefan Monnier <monnier@iro.umontreal.ca> Newsgroups: comp.arch Subject: Re: Performance of xchg reg,reg Date: Tue, 20 Oct 2026 10:05:57 -0400 Organization: A noiseless patient Spider Lines: 14 Message-ID: <jwvzew8mpwv.fsf-monnier+comp.arch@gnu.org> References: <2026Oct13.104347@mips.complang.tuwien.ac.at> <20261018184318.00000bee@yahoo.com> <2026Oct18.185726@mips.complang.tuwien.ac.at> <jwv8q3uqrxf.fsf-monnier+comp.arch@gnu.org> <11b6i0g$f44$1@reader2.panix.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Tue, 20 Oct 2026 19:17:31 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3483683"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Lq/ypz73h8/QvmqySWAp2YuBISjYGLeE="; posting-host="37b276353ba2838a867dd91037edf62c" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:0uOF40wwbS9zvAa5Uvkgu74Te2U= sha1:5C1JzCjPfkQrPkaiyYuvbQjlg1o= sha256:/6odMKj5Txi9/KDXkrE9XoRjLRhEEdujIemu70BgBis= sha1:vgzojtSmqS/eL31fFoyWhuHYGtA= sha256:anAJCFOvYXQwVQIRWtAQvUlwQdvArZfs8uOOQvc05rc= In-Reply-To: <11b6i0g$f44$1@reader2.panix.com> (message from cross@spitfire.i.gajendra.net (Dan Cross) on Tue, 20 Oct 2026 02:00:48 -0000 (UTC))