Commit ab36421e54c6a18f3cff1277fb55f3c8e085c897

Authored by aurel32
1 parent f129981a

tcg: add _tl aliases for div/divu/rem/remu

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6939 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 8 additions and 0 deletions
tcg/tcg-op.h
... ... @@ -2052,6 +2052,10 @@ static inline void tcg_gen_qemu_st64(TCGv_i64 arg, TCGv addr, int mem_index)
2052 2052 #define tcg_gen_brcondi_tl tcg_gen_brcondi_i64
2053 2053 #define tcg_gen_mul_tl tcg_gen_mul_i64
2054 2054 #define tcg_gen_muli_tl tcg_gen_muli_i64
  2055 +#define tcg_gen_div_tl tcg_gen_div_i64
  2056 +#define tcg_gen_rem_tl tcg_gen_rem_i64
  2057 +#define tcg_gen_divu_tl tcg_gen_div_i64
  2058 +#define tcg_gen_remu_tl tcg_gen_rem_i64
2055 2059 #define tcg_gen_discard_tl tcg_gen_discard_i64
2056 2060 #define tcg_gen_trunc_tl_i32 tcg_gen_trunc_i64_i32
2057 2061 #define tcg_gen_trunc_i64_tl tcg_gen_mov_i64
... ... @@ -2118,6 +2122,10 @@ static inline void tcg_gen_qemu_st64(TCGv_i64 arg, TCGv addr, int mem_index)
2118 2122 #define tcg_gen_brcondi_tl tcg_gen_brcondi_i32
2119 2123 #define tcg_gen_mul_tl tcg_gen_mul_i32
2120 2124 #define tcg_gen_muli_tl tcg_gen_muli_i32
  2125 +#define tcg_gen_div_tl tcg_gen_div_i32
  2126 +#define tcg_gen_rem_tl tcg_gen_rem_i32
  2127 +#define tcg_gen_divu_tl tcg_gen_div_i32
  2128 +#define tcg_gen_remu_tl tcg_gen_rem_i32
2121 2129 #define tcg_gen_discard_tl tcg_gen_discard_i32
2122 2130 #define tcg_gen_trunc_tl_i32 tcg_gen_mov_i32
2123 2131 #define tcg_gen_trunc_i64_tl tcg_gen_trunc_i64_i32
... ...