mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 11:53:39 +08:00
Add discard_ptr and discard_tl
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4072 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
a825e703ee
commit
a768e4b25a
@ -1264,6 +1264,7 @@ static inline void tcg_gen_qemu_st64(TCGv arg, TCGv addr, int mem_index)
|
||||
}
|
||||
|
||||
#define tcg_gen_ld_ptr tcg_gen_ld_i32
|
||||
#define tcg_gen_discard_ptr tcg_gen_discard_i32
|
||||
|
||||
#else /* TCG_TARGET_REG_BITS == 32 */
|
||||
|
||||
@ -1323,6 +1324,7 @@ static inline void tcg_gen_qemu_st64(TCGv arg, TCGv addr, int mem_index)
|
||||
}
|
||||
|
||||
#define tcg_gen_ld_ptr tcg_gen_ld_i64
|
||||
#define tcg_gen_discard_ptr tcg_gen_discard_i64
|
||||
|
||||
#endif /* TCG_TARGET_REG_BITS != 32 */
|
||||
|
||||
@ -1358,6 +1360,7 @@ static inline void tcg_gen_qemu_st64(TCGv arg, TCGv addr, int mem_index)
|
||||
#define tcg_gen_sar_tl tcg_gen_sar_i64
|
||||
#define tcg_gen_sari_tl tcg_gen_sari_i64
|
||||
#define tcg_gen_brcond_tl tcg_gen_brcond_i64
|
||||
#define tcg_gen_discard_tl tcg_gen_discard_i64
|
||||
#define tcg_const_tl tcg_const_i64
|
||||
#else
|
||||
#define TCG_TYPE_TL TCG_TYPE_I32
|
||||
@ -1391,5 +1394,6 @@ static inline void tcg_gen_qemu_st64(TCGv arg, TCGv addr, int mem_index)
|
||||
#define tcg_gen_sar_tl tcg_gen_sar_i32
|
||||
#define tcg_gen_sari_tl tcg_gen_sari_i32
|
||||
#define tcg_gen_brcond_tl tcg_gen_brcond_i32
|
||||
#define tcg_gen_discard_tl tcg_gen_discard_i32
|
||||
#define tcg_const_tl tcg_const_i32
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user