[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 16/16] tcg: Remove tcg_gen_dup{8,16,32,64}i_vec
From: |
Richard Henderson |
Subject: |
[PATCH 16/16] tcg: Remove tcg_gen_dup{8,16,32,64}i_vec |
Date: |
Sat, 18 Apr 2020 09:19:14 -0700 |
These interfaces have been replaced by tcg_gen_dupi_vec
and tcg_constant_vec.
Signed-off-by: Richard Henderson <address@hidden>
---
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);
--
2.20.1
- [PATCH 07/16] tcg: Rename struct tcg_temp_info to TempOptInfo, (continued)
- [PATCH 07/16] tcg: Rename struct tcg_temp_info to TempOptInfo, Richard Henderson, 2020/04/18
- [PATCH 08/16] tcg/optimize: Adjust TempOptInfo allocation, Richard Henderson, 2020/04/18
- [PATCH 04/16] tcg: Use tcg_constant_{i32,i64} with tcg int expanders, Richard Henderson, 2020/04/18
- [PATCH 10/16] tcg/tci: Add special tci_movi_{i32,i64} opcodes, Richard Henderson, 2020/04/18
- [PATCH 09/16] tcg/optimize: Use tcg_constant_internal with constant folding, Richard Henderson, 2020/04/18
- [PATCH 12/16] tcg: Use tcg_out_dupi_vec from temp_load, Richard Henderson, 2020/04/18
- [PATCH 14/16] tcg: Add tcg_reg_alloc_dup2, Richard Henderson, 2020/04/18
- [PATCH 13/16] tcg: Increase tcg_out_dupi_vec immediate to int64_t, Richard Henderson, 2020/04/18
- [PATCH 11/16] tcg: Remove movi and dupi opcodes, Richard Henderson, 2020/04/18
- [PATCH 16/16] tcg: Remove tcg_gen_dup{8,16,32,64}i_vec,
Richard Henderson <=
- [PATCH 15/16] tcg/i386: Use tcg_constant_vec with tcg vec expanders, Richard Henderson, 2020/04/18
- Re: [PATCH 00/16] tcg: Better handling of constants, Alex Bennée, 2020/04/20