tcg: Add tcg_gen_gvec_dup_imm
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 28 Mar 2020 21:17:11 +0000 (14:17 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 6 May 2020 16:24:58 +0000 (09:24 -0700)
commit44c94677febd15488f9190b11eaa4a08e8ac696b
tree2321590525ed917f4e9cd65c34101cb2e33cbb25
parenta36d64f43325fa503075cc9408ddabb69b32f829
tcg: Add tcg_gen_gvec_dup_imm

Add a version of tcg_gen_dup_* that takes both immediate and
a vector element size operand.  This will replace the set of
tcg_gen_gvec_dup{8,16,32,64}i functions that encode the element
size within the function name.

Reviewed-by: LIU Zhiwei <zhiwei_liu@c-sky.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/tcg/tcg-op-gvec.h
tcg/tcg-op-gvec.c