mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
tcg: Merge INDEX_op_nor_{i32,i64}
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
3f6b223012
commit
3a8c4e9e53
7 changed files with 15 additions and 17 deletions
|
@ -497,7 +497,8 @@ static uint64_t do_constant_folding_2(TCGOpcode op, uint64_t x, uint64_t y)
|
|||
case INDEX_op_nand_vec:
|
||||
return ~(x & y);
|
||||
|
||||
CASE_OP_32_64_VEC(nor):
|
||||
case INDEX_op_nor:
|
||||
case INDEX_op_nor_vec:
|
||||
return ~(x | y);
|
||||
|
||||
case INDEX_op_clz_i32:
|
||||
|
@ -3000,7 +3001,8 @@ void tcg_optimize(TCGContext *s)
|
|||
CASE_OP_32_64(neg):
|
||||
done = fold_neg(&ctx, op);
|
||||
break;
|
||||
CASE_OP_32_64_VEC(nor):
|
||||
case INDEX_op_nor:
|
||||
case INDEX_op_nor_vec:
|
||||
done = fold_nor(&ctx, op);
|
||||
break;
|
||||
CASE_OP_32_64_VEC(not):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue