diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-24 17:32:06 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2025-01-16 20:57:16 -0800 |
commit | 0e4c6424d639b1e2e2b780a2692d47491b7260ae (patch) | |
tree | fd577c4194bb970ec7cd64fa6a9b71df89bec071 /include/tcg | |
parent | 80a3a9423a86cc5dae6c6e1794328465d105d73c (diff) | |
download | qemu-0e4c6424d639b1e2e2b780a2692d47491b7260ae.zip qemu-0e4c6424d639b1e2e2b780a2692d47491b7260ae.tar.gz qemu-0e4c6424d639b1e2e2b780a2692d47491b7260ae.tar.bz2 |
tcg: Add tcg_op_deposit_valid
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/tcg')
-rw-r--r-- | include/tcg/tcg.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h index ac0a080..63f7eb3 100644 --- a/include/tcg/tcg.h +++ b/include/tcg/tcg.h @@ -840,6 +840,12 @@ typedef struct TCGTargetOpDef { * on which we are currently executing. */ bool tcg_op_supported(TCGOpcode op, TCGType type, unsigned flags); +/* + * tcg_op_deposit_valid: + * Query if a deposit into (ofs, len) is supported for @type by + * the host on which we are currently executing. + */ +bool tcg_op_deposit_valid(TCGType type, unsigned ofs, unsigned len); void tcg_gen_call0(void *func, TCGHelperInfo *, TCGTemp *ret); void tcg_gen_call1(void *func, TCGHelperInfo *, TCGTemp *ret, TCGTemp *); |