Skip to content

Commit

Permalink
target/alpha: Enable MTTCG by default
Browse files Browse the repository at this point in the history
Alpha has a weak memory ordering and issues all of the required barriers.

Signed-off-by: Richard Henderson <rth@twiddle.net>
  • Loading branch information
rth7680 committed Feb 28, 2017
1 parent 8f2d7c3 commit 5ee4f3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions configure
Expand Up @@ -5894,6 +5894,7 @@ case "$target_name" in
TARGET_BASE_ARCH=i386
;;
alpha)
mttcg="yes"
;;
arm|armeb)
TARGET_ARCH=arm
Expand Down
3 changes: 3 additions & 0 deletions target/alpha/cpu.h
Expand Up @@ -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"
Expand Down

0 comments on commit 5ee4f3c

Please sign in to comment.