mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
tcg: Define "deposit" as an optional operation.
Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
9f8beb6636
commit
b7767f0f3c
3 changed files with 84 additions and 0 deletions
|
@ -78,6 +78,9 @@ DEF(sar_i32, 1, 2, 0, 0)
|
|||
DEF(rotl_i32, 1, 2, 0, 0)
|
||||
DEF(rotr_i32, 1, 2, 0, 0)
|
||||
#endif
|
||||
#ifdef TCG_TARGET_HAS_deposit_i32
|
||||
DEF(deposit_i32, 1, 2, 2, 0)
|
||||
#endif
|
||||
|
||||
DEF(brcond_i32, 0, 2, 2, TCG_OPF_BB_END | TCG_OPF_SIDE_EFFECTS)
|
||||
#if TCG_TARGET_REG_BITS == 32
|
||||
|
@ -168,6 +171,9 @@ DEF(sar_i64, 1, 2, 0, 0)
|
|||
DEF(rotl_i64, 1, 2, 0, 0)
|
||||
DEF(rotr_i64, 1, 2, 0, 0)
|
||||
#endif
|
||||
#ifdef TCG_TARGET_HAS_deposit_i64
|
||||
DEF(deposit_i64, 1, 2, 2, 0)
|
||||
#endif
|
||||
|
||||
DEF(brcond_i64, 0, 2, 2, TCG_OPF_BB_END | TCG_OPF_SIDE_EFFECTS)
|
||||
#ifdef TCG_TARGET_HAS_ext8s_i64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue