Commit 66230e0dee3f29107402d25f2f867006ea5f593f
1 parent
9c9bb6c8
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
Showing
2 changed files
with
4 additions
and
4 deletions
target-arm/helper.c
... | ... | @@ -2271,7 +2271,7 @@ float32 VFP_HELPER(neg, s)(float32 a) |
2271 | 2271 | |
2272 | 2272 | float64 VFP_HELPER(neg, d)(float64 a) |
2273 | 2273 | { |
2274 | - return float32_chs(a); | |
2274 | + return float64_chs(a); | |
2275 | 2275 | } |
2276 | 2276 | |
2277 | 2277 | float32 VFP_HELPER(abs, s)(float32 a) |
... | ... | @@ -2281,7 +2281,7 @@ float32 VFP_HELPER(abs, s)(float32 a) |
2281 | 2281 | |
2282 | 2282 | float64 VFP_HELPER(abs, d)(float64 a) |
2283 | 2283 | { |
2284 | - return float32_abs(a); | |
2284 | + return float64_abs(a); | |
2285 | 2285 | } |
2286 | 2286 | |
2287 | 2287 | float32 VFP_HELPER(sqrt, s)(float32 a, CPUState *env) | ... | ... |
target-arm/translate.c
... | ... | @@ -1079,9 +1079,9 @@ static inline void gen_vfp_uito(int dp) |
1079 | 1079 | static inline void gen_vfp_sito(int dp) |
1080 | 1080 | { |
1081 | 1081 | if (dp) |
1082 | - gen_helper_vfp_uitod(cpu_F0d, cpu_F0s, cpu_env); | |
1082 | + gen_helper_vfp_sitod(cpu_F0d, cpu_F0s, cpu_env); | |
1083 | 1083 | else |
1084 | - gen_helper_vfp_uitos(cpu_F0s, cpu_F0s, cpu_env); | |
1084 | + gen_helper_vfp_sitos(cpu_F0s, cpu_F0s, cpu_env); | |
1085 | 1085 | } |
1086 | 1086 | |
1087 | 1087 | static inline void gen_vfp_toui(int dp) | ... | ... |