* [Qemu-devel] [4210] Fix ARM VFP related segfaults.
@ 2008-04-14 2:19 Andrzej Zaborowski
0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-04-14 2:19 UTC (permalink / raw
To: qemu-devel
Revision: 4210
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4210
Author: balrog
Date: 2008-04-14 02:19:57 +0000 (Mon, 14 Apr 2008)
Log Message:
-----------
Fix ARM VFP related segfaults.
The fconst change is partly a guess.
VFP_OP1 is still unused.
An ARMv6 target still won't boot.
Modified Paths:
--------------
trunk/target-arm/translate.c
Modified: trunk/target-arm/translate.c
===================================================================
--- trunk/target-arm/translate.c 2008-04-13 16:08:44 UTC (rev 4209)
+++ trunk/target-arm/translate.c 2008-04-14 02:19:57 UTC (rev 4210)
@@ -1009,7 +1009,7 @@
gen_helper_vfp_##name##s(cpu_F0s, cpu_F0s, cpu_F1s, cpu_env); \
}
-#define VFP_OP1i(name) \
+#define VFP_OP1(name) \
static inline void gen_vfp_##name(int dp, int arg) \
{ \
if (dp) \
@@ -1068,9 +1068,9 @@
static inline void gen_vfp_F1_ld0(int dp)
{
if (dp)
- tcg_gen_movi_i64(cpu_F0d, 0);
+ tcg_gen_movi_i64(cpu_F1d, 0);
else
- tcg_gen_movi_i32(cpu_F0s, 0);
+ tcg_gen_movi_i32(cpu_F1s, 0);
}
static inline void gen_vfp_uito(int dp)
@@ -3117,7 +3117,7 @@
else
i |= 0x800;
n |= i << 19;
- tcg_gen_movi_i32(cpu_F0d, ((uint64_t)n) << 32);
+ tcg_gen_movi_i32(cpu_F0s, n);
}
break;
case 15: /* extension space */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-14 2:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-14 2:19 [Qemu-devel] [4210] Fix ARM VFP related segfaults Andrzej Zaborowski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.