Thread (76 messages) 76 messages, 4 authors, 2015-10-12

Re: [PATCH v2 22/25] powerpc32: move xxxxx_dcache_range() functions inline

From: Christophe Leroy <hidden>
Date: 2015-09-22 22:49:48
Also in: lkml


Le 23/09/2015 00:34, Scott Wood a écrit :
On Tue, 2015-09-22 at 22:57 +0200, Christophe Leroy wrote:
quoted
quoted
Here is what I get in asm. First one is with "if (i) mb();". We see gcc
puts a beqlr. This is the form that is closest to what we had in the
former misc_32.S
Second one if with "mb()". Here we get a branch to sync for a useless sync
I was more concerned with keeping the code simple than the asm output.
Right, but is that so complicated to say: if we did nothing in the loop, no need to sync ?

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