mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
tcg: Convert not to TCGOutOpUnary
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
6971358747
commit
592982bf04
25 changed files with 119 additions and 103 deletions
|
@ -1104,11 +1104,11 @@ static bool fold_to_not(OptContext *ctx, TCGOp *op, int idx)
|
|||
switch (ctx->type) {
|
||||
case TCG_TYPE_I32:
|
||||
not_op = INDEX_op_not_i32;
|
||||
have_not = TCG_TARGET_HAS_not_i32;
|
||||
have_not = tcg_op_supported(INDEX_op_not_i32, TCG_TYPE_I32, 0);
|
||||
break;
|
||||
case TCG_TYPE_I64:
|
||||
not_op = INDEX_op_not_i64;
|
||||
have_not = TCG_TARGET_HAS_not_i64;
|
||||
have_not = tcg_op_supported(INDEX_op_not_i64, TCG_TYPE_I64, 0);
|
||||
break;
|
||||
case TCG_TYPE_V64:
|
||||
case TCG_TYPE_V128:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue