Commit 911d79bacf76c70742db058def16ed346261866f

Authored by aurel32
1 parent 9a5c57fd

tcg: add _tl aliases to bswap16/32/64 TCG ops

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

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6833 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 5 additions and 0 deletions
tcg/tcg-op.h
... ... @@ -2065,6 +2065,9 @@ static inline void tcg_gen_qemu_st64(TCGv_i64 arg, TCGv addr, int mem_index)
2065 2065 #define tcg_gen_ext16s_tl tcg_gen_ext16s_i64
2066 2066 #define tcg_gen_ext32u_tl tcg_gen_ext32u_i64
2067 2067 #define tcg_gen_ext32s_tl tcg_gen_ext32s_i64
  2068 +#define tcg_gen_bswap16_tl tcg_gen_bswap16_i64
  2069 +#define tcg_gen_bswap32_tl tcg_gen_bswap32_i64
  2070 +#define tcg_gen_bswap64_tl tcg_gen_bswap64_i64
2068 2071 #define tcg_gen_concat_tl_i64 tcg_gen_concat32_i64
2069 2072 #define tcg_gen_andc_tl tcg_gen_andc_i64
2070 2073 #define tcg_gen_eqv_tl tcg_gen_eqv_i64
... ... @@ -2128,6 +2131,8 @@ static inline void tcg_gen_qemu_st64(TCGv_i64 arg, TCGv addr, int mem_index)
2128 2131 #define tcg_gen_ext16s_tl tcg_gen_ext16s_i32
2129 2132 #define tcg_gen_ext32u_tl tcg_gen_mov_i32
2130 2133 #define tcg_gen_ext32s_tl tcg_gen_mov_i32
  2134 +#define tcg_gen_bswap16_tl tcg_gen_bswap16_i32
  2135 +#define tcg_gen_bswap32_tl tcg_gen_bswap32_i32
2131 2136 #define tcg_gen_concat_tl_i64 tcg_gen_concat_i32_i64
2132 2137 #define tcg_gen_andc_tl tcg_gen_andc_i32
2133 2138 #define tcg_gen_eqv_tl tcg_gen_eqv_i32
... ...