]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
target/alpha: Enable MTTCG by default
authorRichard Henderson <rth@twiddle.net>
Thu, 23 Feb 2017 22:12:43 +0000 (09:12 +1100)
committerRichard Henderson <rth@twiddle.net>
Tue, 28 Feb 2017 00:41:46 +0000 (11:41 +1100)
Alpha has a weak memory ordering and issues all of the required barriers.

Signed-off-by: Richard Henderson <rth@twiddle.net>
configure
target/alpha/cpu.h

index df58e9128540bbf9071acc18111663df2b83a5ed..6c21975f0228070183710726f75b131da3ed791f 100755 (executable)
--- a/configure
+++ b/configure
@@ -5894,6 +5894,7 @@ case "$target_name" in
     TARGET_BASE_ARCH=i386
   ;;
   alpha)
+    mttcg="yes"
   ;;
   arm|armeb)
     TARGET_ARCH=arm
index b08d1601d124dd6ed88f6b3c03a00f4d6114c260..691ac00c0babdab3a53851cad40dbb3b9159a3a9 100644 (file)
@@ -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"