From 5fc12c7fbab25de6f3fc742917afa35a64626a7a Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 3 Mar 2021 19:30:08 -0500 Subject: [PATCH] tcg: Add tcg_gen_bswap_tl alias The alias is intended to indicate that the bswap is for the entire target_long. This should avoid ifdefs on some targets. Backports a66424ba17d661007dc13d78c9e3014ccbaf0efb --- qemu/tcg/tcg-op.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qemu/tcg/tcg-op.h b/qemu/tcg/tcg-op.h index 95b19a33..79647f99 100644 --- a/qemu/tcg/tcg-op.h +++ b/qemu/tcg/tcg-op.h @@ -1087,6 +1087,7 @@ void tcg_gen_stl_vec(TCGContext *, TCGv_vec r, TCGv_ptr base, TCGArg offset, TCG #define tcg_gen_bswap16_tl tcg_gen_bswap16_i64 #define tcg_gen_bswap32_tl tcg_gen_bswap32_i64 #define tcg_gen_bswap64_tl tcg_gen_bswap64_i64 +#define tcg_gen_bswap_tl tcg_gen_bswap64_i64 #define tcg_gen_concat_tl_i64 tcg_gen_concat32_i64 #define tcg_gen_extr_i64_tl tcg_gen_extr32_i64 #define tcg_gen_andc_tl tcg_gen_andc_i64 @@ -1199,6 +1200,7 @@ void tcg_gen_stl_vec(TCGContext *, TCGv_vec r, TCGv_ptr base, TCGArg offset, TCG #define tcg_gen_ext32s_tl tcg_gen_mov_i32 #define tcg_gen_bswap16_tl tcg_gen_bswap16_i32 #define tcg_gen_bswap32_tl tcg_gen_bswap32_i32 +#define tcg_gen_bswap_tl tcg_gen_bswap32_i32 #define tcg_gen_concat_tl_i64 tcg_gen_concat_i32_i64 #define tcg_gen_extr_i64_tl tcg_gen_extr_i64_i32 #define tcg_gen_andc_tl tcg_gen_andc_i32