target/alpha: Enable MTTCG by default

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

Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
Richard Henderson 2017-02-24 09:12:43 +11:00
parent 8f2d7c3411
commit 5ee4f3c2c7
2 changed files with 4 additions and 0 deletions

1
configure vendored
View File

@ -5894,6 +5894,7 @@ case "$target_name" in
TARGET_BASE_ARCH=i386
;;
alpha)
mttcg="yes"
;;
arm|armeb)
TARGET_ARCH=arm

View 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"