Changeset 36170 in vbox for trunk/src/recompiler/gen-icount.h
- Timestamp:
- Mar 4, 2011 12:49:02 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/gen-icount.h
r36125 r36170 6 6 static inline void gen_icount_start(void) 7 7 { 8 TCGv count;8 TCGv_i32 count; 9 9 10 10 if (!use_icount) … … 16 16 we allow the target to supply a convenient register temporary. */ 17 17 #ifndef ICOUNT_TEMP 18 count = tcg_temp_local_new (TCG_TYPE_I32);18 count = tcg_temp_local_new_i32(); 19 19 #else 20 20 count = ICOUNT_TEMP; … … 28 28 tcg_gen_st16_i32(count, cpu_env, offsetof(CPUState, icount_decr.u16.low)); 29 29 #ifndef ICOUNT_TEMP 30 tcg_temp_free (count);30 tcg_temp_free_i32(count); 31 31 #endif 32 32 } … … 41 41 } 42 42 43 inline staticvoid gen_io_start(void)43 static inline void gen_io_start(void) 44 44 { 45 TCGv tmp = tcg_const_i32(1);45 TCGv_i32 tmp = tcg_const_i32(1); 46 46 tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUState, can_do_io)); 47 tcg_temp_free (tmp);47 tcg_temp_free_i32(tmp); 48 48 } 49 49 50 50 static inline void gen_io_end(void) 51 51 { 52 TCGv tmp = tcg_const_i32(0);52 TCGv_i32 tmp = tcg_const_i32(0); 53 53 tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUState, can_do_io)); 54 tcg_temp_free (tmp);54 tcg_temp_free_i32(tmp); 55 55 } 56
Note:
See TracChangeset
for help on using the changeset viewer.