qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [4221] Correct more ARM VFP 32/64 and signed/unsigned typos


From: Andrzej Zaborowski
Subject: [Qemu-devel] [4221] Correct more ARM VFP 32/64 and signed/unsigned typos.
Date: Sun, 20 Apr 2008 00:58:02 +0000

Revision: 4221
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4221
Author:   balrog
Date:     2008-04-20 00:58:01 +0000 (Sun, 20 Apr 2008)

Log Message:
-----------
Correct more ARM VFP 32/64 and signed/unsigned typos.

Fixes unreadable fonts in Maemo guest.

Modified Paths:
--------------
    trunk/target-arm/helper.c
    trunk/target-arm/translate.c

Modified: trunk/target-arm/helper.c
===================================================================
--- trunk/target-arm/helper.c   2008-04-16 23:58:02 UTC (rev 4220)
+++ trunk/target-arm/helper.c   2008-04-20 00:58:01 UTC (rev 4221)
@@ -2271,7 +2271,7 @@
 
 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 @@
 
 float64 VFP_HELPER(abs, d)(float64 a)
 {
-    return float32_abs(a);
+    return float64_abs(a);
 }
 
 float32 VFP_HELPER(sqrt, s)(float32 a, CPUState *env)

Modified: trunk/target-arm/translate.c
===================================================================
--- trunk/target-arm/translate.c        2008-04-16 23:58:02 UTC (rev 4220)
+++ trunk/target-arm/translate.c        2008-04-20 00:58:01 UTC (rev 4221)
@@ -1079,9 +1079,9 @@
 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)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]