Skip to contentSkip to conversation

Enable MTTCG for target/alpha

GIT PULL Applied Richard Henderson 2 participants 3 messages Feb 28, 2017

lore
Share & tools
lore
#0 lore raw

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(+)
#1 lore raw

[Qemu-devel] [PULL] target/alpha: Enable MTTCG by default

Alpha has a weak memory ordering and issues all of the required barriers.

---
 configure          | 1 +
 target/alpha/cpu.h | 3 +++
 2 files changed, 4 insertions(+)
configure +1 -0
index df58e91..6c21975 100755
@@ -5894,6 +5894,7 @@ case "$target_name" in
     TARGET_BASE_ARCH=i386
   ;;
   alpha)
+    mttcg="yes"
   ;;
   arm|armeb)
     TARGET_ARCH=arm
target/alpha/cpu.h +3 -0
index b08d160..691ac00 100644
@@ -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"
Signature · 1 line
2.9.3
#2 lore raw
In reply to Richard Henderson
Quoted 15 lines · Richard Henderson

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

Quoted 8 lines

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