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 #define TCG_TARGET_HAS_qemu_st8_i32 0 11 12 #if TCG_TARGET_REG_BITS == 64 13 #define TCG_TARGET_HAS_extr_i64_i32 0 14 #endif /* TCG_TARGET_REG_BITS == 64 */ 15 16 #define TCG_TARGET_HAS_qemu_ldst_i128 0 17 18 #define TCG_TARGET_HAS_tst 1 19 20 #define TCG_TARGET_extract_valid(type, ofs, len) 1 21 #define TCG_TARGET_sextract_valid(type, ofs, len) 1 22 #define TCG_TARGET_deposit_valid(type, ofs, len) 1 23 24 #endif 25