target/xtensa: support MTTCG
- emit TCG barriers for MEMW, EXTW, S32RI and L32AI; - do atomic_cmpxchg_i32 for S32C1I. Cc: Emilio G. Cota <cota@braap.org> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
1 parent
1b7b26e474
commit
9fb40342d4
3 files changed
+35
-15
No files matched your search
@@ -31,6 +31,9 @@
|
||||
#define ALIGNED_ONLY
|
||||
#define TARGET_LONG_BITS 32
|
||||
|
||||
/* Xtensa processors have a weak memory model */
|
||||
#define TCG_GUEST_DEFAULT_MO (0)
|
||||
|
||||
#define CPUArchState struct CPUXtensaState
|
||||
|
||||
#include "qemu-common.h"
|
||||
|
||||
Reference in new issue
Block a user