mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00

The i386 backend can now check TCGOP_FLAGS to select the correct set of constraints. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
22 lines
540 B
C
22 lines
540 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Define target-specific opcode support
|
|
* Copyright (c) 2009, 2011 Stefan Weil
|
|
*/
|
|
|
|
#ifndef TCG_TARGET_HAS_H
|
|
#define TCG_TARGET_HAS_H
|
|
|
|
#if TCG_TARGET_REG_BITS == 64
|
|
#define TCG_TARGET_HAS_extr_i64_i32 0
|
|
#endif /* TCG_TARGET_REG_BITS == 64 */
|
|
|
|
#define TCG_TARGET_HAS_qemu_ldst_i128 0
|
|
|
|
#define TCG_TARGET_HAS_tst 1
|
|
|
|
#define TCG_TARGET_extract_valid(type, ofs, len) 1
|
|
#define TCG_TARGET_sextract_valid(type, ofs, len) 1
|
|
#define TCG_TARGET_deposit_valid(type, ofs, len) 1
|
|
|
|
#endif
|