* [Qemu-devel] [PULL] Enable MTTCG for target/alpha
@ 2017-02-28 0:46 Richard Henderson
2017-02-28 0:46 ` [Qemu-devel] [PULL] target/alpha: Enable MTTCG by default Richard Henderson
2017-02-28 13:40 ` [Qemu-devel] [PULL] Enable MTTCG for target/alpha Peter Maydell
0 siblings, 2 replies; 3+ messages in thread
From: Richard Henderson @ 2017-02-28 0:46 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell
Thanks to Alex for the heroics getting the patch set in.
This is a tiny follow-up to enable it for Alpha.
r~
The following changes since commit 8f2d7c341184a95d05476ea3c45dbae2b9ddbe51:
Merge remote-tracking branch 'remotes/berrange/tags/pull-qcrypto-2017-02-27-1' into staging (2017-02-27 15:33:21 +0000)
are available in the git repository at:
git://github.com/rth7680/qemu.git tags/pull-axp-20170228
for you to fetch changes up to 5ee4f3c2c750ce55f825116610beb3340daedeca:
target/alpha: Enable MTTCG by default (2017-02-28 11:41:46 +1100)
----------------------------------------------------------------
Enable MTTCG for Alpha guest
----------------------------------------------------------------
Richard Henderson (1):
target/alpha: Enable MTTCG by default
configure | 1 +
target/alpha/cpu.h | 3 +++
2 files changed, 4 insertions(+)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [PULL] target/alpha: Enable MTTCG by default
2017-02-28 0:46 [Qemu-devel] [PULL] Enable MTTCG for target/alpha Richard Henderson
@ 2017-02-28 0:46 ` Richard Henderson
2017-02-28 13:40 ` [Qemu-devel] [PULL] Enable MTTCG for target/alpha Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Richard Henderson @ 2017-02-28 0:46 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell
Alpha has a weak memory ordering and issues all of the required barriers.
Signed-off-by: Richard Henderson <rth@twiddle.net>
---
configure | 1 +
target/alpha/cpu.h | 3 +++
2 files changed, 4 insertions(+)
diff --git a/configure b/configure
index df58e91..6c21975 100755
--- a/configure
+++ b/configure
@@ -5894,6 +5894,7 @@ case "$target_name" in
TARGET_BASE_ARCH=i386
;;
alpha)
+ mttcg="yes"
;;
arm|armeb)
TARGET_ARCH=arm
diff --git a/target/alpha/cpu.h b/target/alpha/cpu.h
index b08d160..691ac00 100644
--- a/target/alpha/cpu.h
+++ b/target/alpha/cpu.h
@@ -28,6 +28,9 @@
#define CPUArchState struct CPUAlphaState
+/* Alpha processors have a weak memory model */
+#define TCG_GUEST_DEFAULT_MO (0)
+
#include "exec/cpu-defs.h"
#include "fpu/softfloat.h"
--
2.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PULL] Enable MTTCG for target/alpha
2017-02-28 0:46 [Qemu-devel] [PULL] Enable MTTCG for target/alpha Richard Henderson
2017-02-28 0:46 ` [Qemu-devel] [PULL] target/alpha: Enable MTTCG by default Richard Henderson
@ 2017-02-28 13:40 ` Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2017-02-28 13:40 UTC (permalink / raw)
To: Richard Henderson; +Cc: QEMU Developers
On 28 February 2017 at 00:46, Richard Henderson <rth@twiddle.net> wrote:
> Thanks to Alex for the heroics getting the patch set in.
> This is a tiny follow-up to enable it for Alpha.
>
>
> r~
>
>
> The following changes since commit 8f2d7c341184a95d05476ea3c45dbae2b9ddbe51:
>
> Merge remote-tracking branch 'remotes/berrange/tags/pull-qcrypto-2017-02-27-1' into staging (2017-02-27 15:33:21 +0000)
>
> are available in the git repository at:
>
> git://github.com/rth7680/qemu.git tags/pull-axp-20170228
>
> for you to fetch changes up to 5ee4f3c2c750ce55f825116610beb3340daedeca:
>
> target/alpha: Enable MTTCG by default (2017-02-28 11:41:46 +1100)
>
> ----------------------------------------------------------------
> Enable MTTCG for Alpha guest
>
> ----------------------------------------------------------------
Applied, thanks.
-- PMM
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-28 13:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-28 0:46 [Qemu-devel] [PULL] Enable MTTCG for target/alpha Richard Henderson
2017-02-28 0:46 ` [Qemu-devel] [PULL] target/alpha: Enable MTTCG by default Richard Henderson
2017-02-28 13:40 ` [Qemu-devel] [PULL] Enable MTTCG for target/alpha Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).