[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Hexagon (target/hexagon) remove unused functions
From: |
Taylor Simpson |
Subject: |
[PATCH] Hexagon (target/hexagon) remove unused functions |
Date: |
Wed, 28 Apr 2021 22:32:22 -0500 |
Remove gen_read_reg and gen_set_byte
Reported-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
---
target/hexagon/genptr.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/target/hexagon/genptr.c b/target/hexagon/genptr.c
index 55c7cd8..f93f895 100644
--- a/target/hexagon/genptr.c
+++ b/target/hexagon/genptr.c
@@ -28,12 +28,6 @@
#undef QEMU_GENERATE
#include "gen_tcg.h"
-static inline TCGv gen_read_reg(TCGv result, int num)
-{
- tcg_gen_mov_tl(result, hex_gpr[num]);
- return result;
-}
-
static inline TCGv gen_read_preg(TCGv pred, uint8_t num)
{
tcg_gen_mov_tl(pred, hex_pred[num]);
@@ -319,11 +313,6 @@ static inline void gen_set_half_i64(int N, TCGv_i64
result, TCGv src)
tcg_temp_free_i64(src64);
}
-static inline void gen_set_byte(int N, TCGv result, TCGv src)
-{
- tcg_gen_deposit_tl(result, result, src, N * 8, 8);
-}
-
static void gen_set_byte_i64(int N, TCGv_i64 result, TCGv src)
{
TCGv_i64 src64 = tcg_temp_new_i64();
--
2.7.4
- [PATCH] Hexagon (target/hexagon) remove unused functions,
Taylor Simpson <=