From bce3cdc2b08e165b800f0c89d793dd323d09a852 Mon Sep 17 00:00:00 2001 From: balrog Date: Sun, 20 Apr 2008 00:58:01 +0000 Subject: [PATCH] Correct more ARM VFP 32/64 and signed/unsigned typos. Fixes unreadable fonts in Maemo guest. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4221 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-arm/helper.c | 4 ++-- target-arm/translate.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/target-arm/helper.c b/target-arm/helper.c index f322001..30700e2 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -2271,7 +2271,7 @@ float32 VFP_HELPER(neg, s)(float32 a) float64 VFP_HELPER(neg, d)(float64 a) { - return float32_chs(a); + return float64_chs(a); } float32 VFP_HELPER(abs, s)(float32 a) @@ -2281,7 +2281,7 @@ float32 VFP_HELPER(abs, s)(float32 a) float64 VFP_HELPER(abs, d)(float64 a) { - return float32_abs(a); + return float64_abs(a); } float32 VFP_HELPER(sqrt, s)(float32 a, CPUState *env) diff --git a/target-arm/translate.c b/target-arm/translate.c index 5751e2f..e849b7f 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -1079,9 +1079,9 @@ static inline void gen_vfp_uito(int dp) static inline void gen_vfp_sito(int dp) { if (dp) - gen_helper_vfp_uitod(cpu_F0d, cpu_F0s, cpu_env); + gen_helper_vfp_sitod(cpu_F0d, cpu_F0s, cpu_env); else - gen_helper_vfp_uitos(cpu_F0s, cpu_F0s, cpu_env); + gen_helper_vfp_sitos(cpu_F0s, cpu_F0s, cpu_env); } static inline void gen_vfp_toui(int dp) -- 2.7.4