From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfUaM-0003QN-0F for qemu-devel@nongnu.org; Thu, 23 May 2013 08:25:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfUaH-0005iZ-3X for qemu-devel@nongnu.org; Thu, 23 May 2013 08:25:33 -0400 Received: from 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa ([2001:8b0:1d0::1]:57350 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfUaG-0005iF-Rp for qemu-devel@nongnu.org; Thu, 23 May 2013 08:25:29 -0400 From: Peter Maydell Date: Thu, 23 May 2013 13:00:03 +0100 Message-Id: <1369310404-5285-10-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1369310404-5285-1-git-send-email-peter.maydell@linaro.org> References: <1369310404-5285-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 09/10] target-arm: Remove gen_{ld, st}* definitions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: John Rigby , patches@linaro.org, Blue Swirl , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Aurelien Jarno , Richard Henderson All the uses of the gen_{ld,st}* functions are gone now, so remove the functions themselves. Signed-off-by: Peter Maydell --- target-arm/translate.c | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) diff --git a/target-arm/translate.c b/target-arm/translate.c index 0ca68fe..71135bd 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -841,52 +841,6 @@ static inline void store_reg_from_load(CPUARMState *env, DisasContext *s, } } -static inline TCGv_i32 gen_ld8s(TCGv_i32 addr, int index) -{ - TCGv_i32 tmp = tcg_temp_new_i32(); - tcg_gen_qemu_ld8s(tmp, addr, index); - return tmp; -} -static inline TCGv_i32 gen_ld8u(TCGv_i32 addr, int index) -{ - TCGv_i32 tmp = tcg_temp_new_i32(); - tcg_gen_qemu_ld8u(tmp, addr, index); - return tmp; -} -static inline TCGv_i32 gen_ld16s(TCGv_i32 addr, int index) -{ - TCGv_i32 tmp = tcg_temp_new_i32(); - tcg_gen_qemu_ld16s(tmp, addr, index); - return tmp; -} -static inline TCGv_i32 gen_ld16u(TCGv_i32 addr, int index) -{ - TCGv_i32 tmp = tcg_temp_new_i32(); - tcg_gen_qemu_ld16u(tmp, addr, index); - return tmp; -} -static inline TCGv_i32 gen_ld32(TCGv_i32 addr, int index) -{ - TCGv_i32 tmp = tcg_temp_new_i32(); - tcg_gen_qemu_ld32u(tmp, addr, index); - return tmp; -} -static inline void gen_st8(TCGv_i32 val, TCGv_i32 addr, int index) -{ - tcg_gen_qemu_st8(val, addr, index); - tcg_temp_free_i32(val); -} -static inline void gen_st16(TCGv_i32 val, TCGv_i32 addr, int index) -{ - tcg_gen_qemu_st16(val, addr, index); - tcg_temp_free_i32(val); -} -static inline void gen_st32(TCGv_i32 val, TCGv_i32 addr, int index) -{ - tcg_gen_qemu_st32(val, addr, index); - tcg_temp_free_i32(val); -} - static inline void gen_set_pc_im(uint32_t val) { tcg_gen_movi_i32(cpu_R[15], val); -- 1.7.9.5