Revision | 5ee4f3c2c750ce55f825116610beb3340daedeca (tree) |
---|---|
Zeit | 2017-02-28 09:41:46 |
Autor | Richard Henderson <rth@twid...> |
Commiter | Richard Henderson |
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>
@@ -5894,6 +5894,7 @@ case "$target_name" in | ||
5894 | 5894 | TARGET_BASE_ARCH=i386 |
5895 | 5895 | ;; |
5896 | 5896 | alpha) |
5897 | + mttcg="yes" | |
5897 | 5898 | ;; |
5898 | 5899 | arm|armeb) |
5899 | 5900 | TARGET_ARCH=arm |
@@ -28,6 +28,9 @@ | ||
28 | 28 | |
29 | 29 | #define CPUArchState struct CPUAlphaState |
30 | 30 | |
31 | +/* Alpha processors have a weak memory model */ | |
32 | +#define TCG_GUEST_DEFAULT_MO (0) | |
33 | + | |
31 | 34 | #include "exec/cpu-defs.h" |
32 | 35 | |
33 | 36 | #include "fpu/softfloat.h" |