All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>,
	qemu-arm <qemu-arm@nongnu.org>,
	Richard Henderson <richard.henderson@linaro.org>
Subject: Re: [Qemu-devel] aarch32 acquire/release vs mttcg
Date: Tue, 06 Nov 2018 14:23:25 +0000	[thread overview]
Message-ID: <87o9b2e142.fsf@linaro.org> (raw)
In-Reply-To: <CAFEAcA9J__5kPwE7P4SwHYmOp=V0fzoGq5BzBKeStytb6W3=ug@mail.gmail.com>


Peter Maydell <peter.maydell@linaro.org> writes:

> 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?

Yes

> 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.

Sounds right. Are they the same semantics as their bigger 64 bit
cousins?

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


--
Alex Bennée

      reply	other threads:[~2018-11-06 14:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-06 11:55 [Qemu-devel] aarch32 acquire/release vs mttcg Peter Maydell
2018-11-06 14:23 ` Alex Bennée [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9b2e142.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.