Thread (2 messages) 2 messages, 2 authors, 2021-10-01

Re: [RFC PATCH] LKMM: Add ctrl_dep() macro for control dependency

flat view

From: Florian Weimer <hidden>
Date: 2021-10-01 16:26:38
Also in: linux-arch, lkml

* Mathieu Desnoyers:
One cheap way to achieve said R->W dependency (as well as R->RW on
architectures which to not reorder R->R) is to ensure that the
generated assembly contains a conditional branch.
Will any conditional branch do, or is it necessary that it depends in
some way on the data read?

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