All of lore.kernel.org
 help / color / mirror / Atom feed
* aarch32 acquire/release vs mttcg
@ 2018-11-06 11:55 ` Peter Maydell
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Maydell @ 2018-11-06 11:55 UTC (permalink / raw)
  To: QEMU Developers; +Cc: qemu-arm, Richard Henderson, Alex Bennée

Looking through code I noticed that in target/arm/translate.c there
is the following comment in the decode for the load-acquire/store-release
instructions:

      /* Since the emulation does not have barriers,
         the acquire/release semantics need no special
         handling */

This is out of date now we have MTTCG, isn't it?
The equivalent code in translate-a64.c has some calls to tcg_gen_mb()
to emit barriers...presumably we need to fix the a32 code to do
the same.

(We haven't noticed this because I think in practice nobody
much is compiling Armv8-specific AArch32 code.)

thanks
-- PMM

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-06 14:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-06 11:55 aarch32 acquire/release vs mttcg Peter Maydell
2018-11-06 11:55 ` [Qemu-devel] " Peter Maydell
2018-11-06 14:23 ` Alex Bennée
2018-11-06 14:23   ` [Qemu-devel] " Alex Bennée

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.