mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 11:04:58 -06:00
Switch most MIPS logical and arithmetic instructions to TCG.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4496 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
8c99506cfb
commit
48d38ca52b
5 changed files with 440 additions and 577 deletions
|
@ -1553,8 +1553,12 @@ static inline void tcg_gen_qemu_st64(TCGv arg, TCGv addr, int mem_index)
|
|||
#endif
|
||||
|
||||
#if TCG_TARGET_REG_BITS == 32
|
||||
#define tcg_gen_add_ptr tcg_gen_add_i32
|
||||
#define tcg_gen_addi_ptr tcg_gen_addi_i32
|
||||
#define tcg_gen_ext_i32_ptr tcg_gen_mov_i32
|
||||
#else /* TCG_TARGET_REG_BITS == 32 */
|
||||
#define tcg_gen_add_ptr tcg_gen_add_i64
|
||||
#define tcg_gen_addi_ptr tcg_gen_addi_i64
|
||||
#define tcg_gen_ext_i32_ptr tcg_gen_ext_i32_i64
|
||||
#endif /* TCG_TARGET_REG_BITS != 32 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue