Thread (46 messages) 46 messages, 7 authors, 2020-07-25

Re: [PATCH v3 5/6] powerpc/pseries: implement paravirt qspinlocks for SPLPAR

From: Segher Boessenkool <hidden>
Date: 2020-07-23 20:31:06
Also in: linux-arch, lkml, virtualization

On Thu, Jul 23, 2020 at 09:58:55PM +0200, peterz@infradead.org wrote:
	asm ("addb	%[val], %b[var];"
	     "cmovc	%[sat], %[var];"
	     : [var] "+r" (tmp)
	     : [val] "ir" (val), [sat] "r" (sat)
	     );
"var" (operand 0) needs an earlyclobber ("sat" is read after "var" is
written for the first time).


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help