Commit a768e4b25a424dd71cb10e6549b6dc28d3f930c9

Authored by blueswir1
1 parent a825e703

Add discard_ptr and discard_tl


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4072 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 4 additions and 0 deletions
tcg/tcg-op.h
... ... @@ -1264,6 +1264,7 @@ static inline void tcg_gen_qemu_st64(TCGv arg, TCGv addr, int mem_index)
1264 1264 }
1265 1265  
1266 1266 #define tcg_gen_ld_ptr tcg_gen_ld_i32
  1267 +#define tcg_gen_discard_ptr tcg_gen_discard_i32
1267 1268  
1268 1269 #else /* TCG_TARGET_REG_BITS == 32 */
1269 1270  
... ... @@ -1323,6 +1324,7 @@ static inline void tcg_gen_qemu_st64(TCGv arg, TCGv addr, int mem_index)
1323 1324 }
1324 1325  
1325 1326 #define tcg_gen_ld_ptr tcg_gen_ld_i64
  1327 +#define tcg_gen_discard_ptr tcg_gen_discard_i64
1326 1328  
1327 1329 #endif /* TCG_TARGET_REG_BITS != 32 */
1328 1330  
... ... @@ -1358,6 +1360,7 @@ static inline void tcg_gen_qemu_st64(TCGv arg, TCGv addr, int mem_index)
1358 1360 #define tcg_gen_sar_tl tcg_gen_sar_i64
1359 1361 #define tcg_gen_sari_tl tcg_gen_sari_i64
1360 1362 #define tcg_gen_brcond_tl tcg_gen_brcond_i64
  1363 +#define tcg_gen_discard_tl tcg_gen_discard_i64
1361 1364 #define tcg_const_tl tcg_const_i64
1362 1365 #else
1363 1366 #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)
1391 1394 #define tcg_gen_sar_tl tcg_gen_sar_i32
1392 1395 #define tcg_gen_sari_tl tcg_gen_sari_i32
1393 1396 #define tcg_gen_brcond_tl tcg_gen_brcond_i32
  1397 +#define tcg_gen_discard_tl tcg_gen_discard_i32
1394 1398 #define tcg_const_tl tcg_const_i32
1395 1399 #endif
... ...