diff mbox series

[v2,25/36] tcg: Remove tcg_gen_dup{8,16,32,64}i_vec

Message ID 20200422011722.13287-26-richard.henderson@linaro.org
State Superseded
Headers show
Series tcg 5.1 omnibus patch set | expand

Commit Message

Richard Henderson April 22, 2020, 1:17 a.m. UTC
These interfaces have been replaced by tcg_gen_dupi_vec
and tcg_constant_vec.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

---
 include/tcg/tcg-op.h |  4 ----
 tcg/tcg-op-vec.c     | 20 --------------------
 2 files changed, 24 deletions(-)

-- 
2.20.1

Comments

Alex Bennée April 23, 2020, 9:11 a.m. UTC | #1
Richard Henderson <richard.henderson@linaro.org> writes:

> These interfaces have been replaced by tcg_gen_dupi_vec

> and tcg_constant_vec.

>

> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Reviewed-by: Alex Bennée <alex.bennee@linaro.org>


> ---

>  include/tcg/tcg-op.h |  4 ----

>  tcg/tcg-op-vec.c     | 20 --------------------

>  2 files changed, 24 deletions(-)

>

> diff --git a/include/tcg/tcg-op.h b/include/tcg/tcg-op.h

> index 11ed9192f7..a39eb13ff0 100644

> --- a/include/tcg/tcg-op.h

> +++ b/include/tcg/tcg-op.h

> @@ -959,10 +959,6 @@ void tcg_gen_mov_vec(TCGv_vec, TCGv_vec);

>  void tcg_gen_dup_i32_vec(unsigned vece, TCGv_vec, TCGv_i32);

>  void tcg_gen_dup_i64_vec(unsigned vece, TCGv_vec, TCGv_i64);

>  void tcg_gen_dup_mem_vec(unsigned vece, TCGv_vec, TCGv_ptr, tcg_target_long);

> -void tcg_gen_dup8i_vec(TCGv_vec, uint32_t);

> -void tcg_gen_dup16i_vec(TCGv_vec, uint32_t);

> -void tcg_gen_dup32i_vec(TCGv_vec, uint32_t);

> -void tcg_gen_dup64i_vec(TCGv_vec, uint64_t);

>  void tcg_gen_dupi_vec(unsigned vece, TCGv_vec, uint64_t);

>  void tcg_gen_add_vec(unsigned vece, TCGv_vec r, TCGv_vec a, TCGv_vec b);

>  void tcg_gen_sub_vec(unsigned vece, TCGv_vec r, TCGv_vec a, TCGv_vec b);

> diff --git a/tcg/tcg-op-vec.c b/tcg/tcg-op-vec.c

> index 6343046e18..a9c16d85c5 100644

> --- a/tcg/tcg-op-vec.c

> +++ b/tcg/tcg-op-vec.c

> @@ -284,26 +284,6 @@ void tcg_gen_dupi_vec(unsigned vece, TCGv_vec dest, uint64_t val)

>      tcg_gen_mov_vec(dest, tcg_constant_vec(type, vece, val));

>  }

>  

> -void tcg_gen_dup64i_vec(TCGv_vec dest, uint64_t val)

> -{

> -    tcg_gen_dupi_vec(MO_64, dest, val);

> -}

> -

> -void tcg_gen_dup32i_vec(TCGv_vec dest, uint32_t val)

> -{

> -    tcg_gen_dupi_vec(MO_32, dest, val);

> -}

> -

> -void tcg_gen_dup16i_vec(TCGv_vec dest, uint32_t val)

> -{

> -    tcg_gen_dupi_vec(MO_16, dest, val);

> -}

> -

> -void tcg_gen_dup8i_vec(TCGv_vec dest, uint32_t val)

> -{

> -    tcg_gen_dupi_vec(MO_8, dest, val);

> -}

> -

>  void tcg_gen_dup_i64_vec(unsigned vece, TCGv_vec r, TCGv_i64 a)

>  {

>      TCGArg ri = tcgv_vec_arg(r);



-- 
Alex Bennée
diff mbox series

Patch

diff --git a/include/tcg/tcg-op.h b/include/tcg/tcg-op.h
index 11ed9192f7..a39eb13ff0 100644
--- a/include/tcg/tcg-op.h
+++ b/include/tcg/tcg-op.h
@@ -959,10 +959,6 @@  void tcg_gen_mov_vec(TCGv_vec, TCGv_vec);
 void tcg_gen_dup_i32_vec(unsigned vece, TCGv_vec, TCGv_i32);
 void tcg_gen_dup_i64_vec(unsigned vece, TCGv_vec, TCGv_i64);
 void tcg_gen_dup_mem_vec(unsigned vece, TCGv_vec, TCGv_ptr, tcg_target_long);
-void tcg_gen_dup8i_vec(TCGv_vec, uint32_t);
-void tcg_gen_dup16i_vec(TCGv_vec, uint32_t);
-void tcg_gen_dup32i_vec(TCGv_vec, uint32_t);
-void tcg_gen_dup64i_vec(TCGv_vec, uint64_t);
 void tcg_gen_dupi_vec(unsigned vece, TCGv_vec, uint64_t);
 void tcg_gen_add_vec(unsigned vece, TCGv_vec r, TCGv_vec a, TCGv_vec b);
 void tcg_gen_sub_vec(unsigned vece, TCGv_vec r, TCGv_vec a, TCGv_vec b);
diff --git a/tcg/tcg-op-vec.c b/tcg/tcg-op-vec.c
index 6343046e18..a9c16d85c5 100644
--- a/tcg/tcg-op-vec.c
+++ b/tcg/tcg-op-vec.c
@@ -284,26 +284,6 @@  void tcg_gen_dupi_vec(unsigned vece, TCGv_vec dest, uint64_t val)
     tcg_gen_mov_vec(dest, tcg_constant_vec(type, vece, val));
 }
 
-void tcg_gen_dup64i_vec(TCGv_vec dest, uint64_t val)
-{
-    tcg_gen_dupi_vec(MO_64, dest, val);
-}
-
-void tcg_gen_dup32i_vec(TCGv_vec dest, uint32_t val)
-{
-    tcg_gen_dupi_vec(MO_32, dest, val);
-}
-
-void tcg_gen_dup16i_vec(TCGv_vec dest, uint32_t val)
-{
-    tcg_gen_dupi_vec(MO_16, dest, val);
-}
-
-void tcg_gen_dup8i_vec(TCGv_vec dest, uint32_t val)
-{
-    tcg_gen_dupi_vec(MO_8, dest, val);
-}
-
 void tcg_gen_dup_i64_vec(unsigned vece, TCGv_vec r, TCGv_i64 a)
 {
     TCGArg ri = tcgv_vec_arg(r);