Correct more ARM VFP 32/64 and signed/unsigned typos.
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 20 Apr 2008 00:58:01 +0000 (00:58 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 20 Apr 2008 00:58:01 +0000 (00:58 +0000)
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
target-arm/translate.c

index f322001d678c3122659d169f50ea966fbba8897b..30700e242fc24ae8604ab56f6b3aa96490a5e8eb 100644 (file)
@@ -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)
index 5751e2f4ebe591c841169eb00e5462b759372816..e849b7fc3f88b344e376c3b409c002c9c1677616 100644 (file)
@@ -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)