Commit a98824ac42f03a97b67f63c47b2a8352662cfa49

Authored by blueswir1
1 parent dc99a3f2

Add tcg_const_tl


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4053 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 0 deletions
tcg/tcg-op.h
... ... @@ -1358,6 +1358,7 @@ static inline void tcg_gen_qemu_st64(TCGv arg, TCGv addr, int mem_index)
1358 1358 #define tcg_gen_sar_tl tcg_gen_sar_i64
1359 1359 #define tcg_gen_sari_tl tcg_gen_sari_i64
1360 1360 #define tcg_gen_brcond_tl tcg_gen_brcond_i64
  1361 +#define tcg_const_tl tcg_const_i64
1361 1362 #else
1362 1363 #define TCG_TYPE_TL TCG_TYPE_I32
1363 1364 #define tcg_gen_movi_tl tcg_gen_movi_i32
... ... @@ -1390,4 +1391,5 @@ static inline void tcg_gen_qemu_st64(TCGv arg, TCGv addr, int mem_index)
1390 1391 #define tcg_gen_sar_tl tcg_gen_sar_i32
1391 1392 #define tcg_gen_sari_tl tcg_gen_sari_i32
1392 1393 #define tcg_gen_brcond_tl tcg_gen_brcond_i32
  1394 +#define tcg_const_tl tcg_const_i32
1393 1395 #endif
... ...