On Fri, Dec 01, 2023 at 01:19:14AM -0800, Boqun Feng wrote: > > > https://github.com/Amanieu/rfcs/blob/inline-asm/text/0000-inline-asm.md#asm-goto > > > > Reading that makes all this even worse, apparently rust can't even use > > memops. > > What do you mean by "memops"? Above link has the below in "future possibilities": "Memory operands We could support mem as an alternative to specifying a register class which would leave the operand in memory and instead produce a memory address when inserted into the asm string. This would allow generating more efficient code by taking advantage of addressing modes instead of using an intermediate register to hold the computed address." Just so happens that every x86 atomic block uses memops.. and per-cpu and ...