aboutsummaryrefslogtreecommitdiff
path: root/target-arm
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-20 00:58:01 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-20 00:58:01 +0000
commit66230e0dee3f29107402d25f2f867006ea5f593f (patch)
treea301710464982a87e3b4830dc4ec3ff11d22cbec /target-arm
parent9c9bb6c89d4aa9a86cc6eb78921138ff8db5a1b3 (diff)
downloadqemu-66230e0dee3f29107402d25f2f867006ea5f593f.zip
qemu-66230e0dee3f29107402d25f2f867006ea5f593f.tar.gz
qemu-66230e0dee3f29107402d25f2f867006ea5f593f.tar.bz2
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
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/helper.c4
-rw-r--r--target-arm/translate.c4
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)