mirror of
https://github.com/qemu/qemu.git
synced 2026-02-04 02:24:51 +00:00
Remove instances of __i386__, except from tests and imported headers. Drop a block containing sanity check and fprintf error message for i386-on-i386 or x86_64-on-x86_64 emulation. If we really want something like this, we would do it via some form of compile-time check. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
18 lines
417 B
C
18 lines
417 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Define target-specific memory model
|
|
* Copyright (c) 2009, 2011 Stefan Weil
|
|
*/
|
|
|
|
#ifndef TCG_TARGET_MO_H
|
|
#define TCG_TARGET_MO_H
|
|
|
|
/*
|
|
* We could notice __x86_64__ or __s390x__ and reduce the barriers depending
|
|
* on the host. But if you want performance, you use the normal backend.
|
|
* We prefer consistency across hosts on this.
|
|
*/
|
|
#define TCG_TARGET_DEFAULT_MO 0
|
|
|
|
#endif
|