qemu/include/tcg
Peter Maydell 614dd4f3ba tcg: Make gen_dup_i32/i64() public as tcg_gen_dup_i32/i64
The Arm MVE VDUP implementation would like to be able to emit code to
duplicate a byte or halfword value into an i32.  We have code to do
this already in tcg-op-gvec.c, so all we need to do is make the
functions global.

For consistency with other functions made available to the frontends:
 * we rename to tcg_gen_dup_*
 * we expose both the _i32 and _i64 forms
 * we provide the #define for a _tl form

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20210617121628.20116-10-peter.maydell@linaro.org
2021-06-21 17:12:50 +01:00
..
tcg-gvec-desc.h tcg: Adjust simd_desc size encoding 2020-10-08 05:57:32 -05:00
tcg-mo.h tcg: Move TCG headers to include/tcg/ 2020-01-15 15:13:10 -10:00
tcg-op-gvec.h tcg: Implement gvec support for rotate by scalar 2020-06-02 08:42:37 -07:00
tcg-op.h tcg: Make gen_dup_i32/i64() public as tcg_gen_dup_i32/i64 2021-06-21 17:12:50 +01:00
tcg-opc.h tcg/tci: Implement the disassembler properly 2021-03-17 07:24:44 -06:00
tcg.h tcg: Make gen_dup_i32/i64() public as tcg_gen_dup_i32/i64 2021-06-21 17:12:50 +01:00