mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
tcg: Add 64-bit multiword arithmetic operations
Matching the 32-bit multiword arithmetic that we already have. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
803d805bce
commit
d7156f7ce4
10 changed files with 41 additions and 14 deletions
|
@ -554,11 +554,11 @@ static TCGArg *tcg_constant_folding(TCGContext *s, uint16_t *tcg_opc_ptr,
|
|||
args[5] = tcg_invert_cond(args[5]);
|
||||
}
|
||||
break;
|
||||
case INDEX_op_add2_i32:
|
||||
CASE_OP_32_64(add2):
|
||||
swap_commutative(args[0], &args[2], &args[4]);
|
||||
swap_commutative(args[1], &args[3], &args[5]);
|
||||
break;
|
||||
case INDEX_op_mulu2_i32:
|
||||
CASE_OP_32_64(mulu2):
|
||||
swap_commutative(args[0], &args[2], &args[3]);
|
||||
break;
|
||||
case INDEX_op_brcond2_i32:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue