aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)