mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
tcg: Add type and flags arguments to tcg_op_supported
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
2ccf871ea5
commit
771a5925e8
2 changed files with 13 additions and 5 deletions
|
@ -834,7 +834,12 @@ typedef struct TCGTargetOpDef {
|
|||
const char *args_ct_str[TCG_MAX_OP_ARGS];
|
||||
} TCGTargetOpDef;
|
||||
|
||||
bool tcg_op_supported(TCGOpcode op);
|
||||
/*
|
||||
* tcg_op_supported:
|
||||
* Query if @op, for @type and @flags, is supported by the host
|
||||
* on which we are currently executing.
|
||||
*/
|
||||
bool tcg_op_supported(TCGOpcode op, TCGType type, unsigned flags);
|
||||
|
||||
void tcg_gen_call0(void *func, TCGHelperInfo *, TCGTemp *ret);
|
||||
void tcg_gen_call1(void *func, TCGHelperInfo *, TCGTemp *ret, TCGTemp *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue