[Qemu-devel] [PATCH] linux-user: fix running programs with iwmmxt instructions

2010-03-15 Thread Lars Munch
When using linux-user for emulating an pxa270 we cannot generate an illegal instruction trap to the kernel to save/load the iwmmxt registers. Signed-off-by: Lars Munch l...@segv.dk --- target-arm/translate.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

Re: [Qemu-devel] [PATCH] linux-user: fix running programs with iwmmxt instructions

2010-03-15 Thread Paul Brook
+#if !defined(CONFIG_USER_ONLY) if (arm_feature(env, ARM_FEATURE_XSCALE) ((env-cp15.c15_cpar ^ 0x3fff) (1 cpnum))) return 1; +#endif This is almost certainly the wrong way to fix this. Paul

Re: [Qemu-devel] [PATCH] linux-user: fix running programs with iwmmxt instructions

2010-03-15 Thread Lars Munch
On Mon, Mar 15, 2010 at 12:53:25PM +, Paul Brook wrote: +#if !defined(CONFIG_USER_ONLY) if (arm_feature(env, ARM_FEATURE_XSCALE) ((env-cp15.c15_cpar ^ 0x3fff) (1 cpnum))) return 1; +#endif This is almost certainly the wrong way to fix this. Paul Here is a