From 25b93db35810abf8c116ecc64831d62f4681a777 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 24 Jun 2014 00:07:59 +0100 Subject: target-unicore: Remove unused functions The functions gen_st64, gen_ld64, gen_mulxy, ucf64_itod and ucf64_dtoi are all unused; remove them. Signed-off-by: Peter Maydell Signed-off-by: Michael Tokarev --- target-unicore32/ucf64_helper.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'target-unicore32/ucf64_helper.c') diff --git a/target-unicore32/ucf64_helper.c b/target-unicore32/ucf64_helper.c index 0c7ea2693c..5af008fc6f 100644 --- a/target-unicore32/ucf64_helper.c +++ b/target-unicore32/ucf64_helper.c @@ -290,28 +290,6 @@ static inline uint32_t ucf64_stoi(float32 s) return v.i; } -static inline float64 ucf64_itod(uint64_t i) -{ - union { - uint64_t i; - float64 d; - } v; - - v.i = i; - return v.d; -} - -static inline uint64_t ucf64_dtoi(float64 d) -{ - union { - uint64_t i; - float64 d; - } v; - - v.d = d; - return v.i; -} - /* Integer to float conversion. */ float32 HELPER(ucf64_si2sf)(float32 x, CPUUniCore32State *env) { -- cgit v1.2.3