1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Define target-specific opcode support 4 * Copyright (c) 2009, 2011 Stefan Weil 5 */ 6 7 #ifndef TCG_TARGET_HAS_H 8 #define TCG_TARGET_HAS_H 9 10 #if TCG_TARGET_REG_BITS == 64 11 #define TCG_TARGET_HAS_extr_i64_i32 0 12 #endif /* TCG_TARGET_REG_BITS == 64 */ 13 14 #define TCG_TARGET_HAS_qemu_ldst_i128 0 15 16 #define TCG_TARGET_HAS_tst 1 17 18 #define TCG_TARGET_extract_valid(type, ofs, len) 1 19 #define TCG_TARGET_sextract_valid(type, ofs, len) 1 20 #define TCG_TARGET_deposit_valid(type, ofs, len) 1 21 22 #endif 23