diff options
author | 2008-12-13 19:27:14 +0000 | |
---|---|---|
committer | 2008-12-13 19:27:14 +0000 | |
commit | f3ff7facf5d41432324606ebb850f1b6dd94c0d2 (patch) | |
tree | 3f6b4b128a8cc879e7b16c5939fe6893ea1a5409 /target-sh4 | |
parent | target-sh4: disable debug code (diff) | |
download | qemu-kvm-f3ff7facf5d41432324606ebb850f1b6dd94c0d2.tar.gz qemu-kvm-f3ff7facf5d41432324606ebb850f1b6dd94c0d2.tar.bz2 qemu-kvm-f3ff7facf5d41432324606ebb850f1b6dd94c0d2.zip |
target-sh4: don't disable FPU instructions in user mode
Based on a patch from Lionel Landwerlin.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6015 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4')
-rw-r--r-- | target-sh4/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c index 55b6c439c..2ff759056 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -185,7 +185,7 @@ void cpu_dump_state(CPUState * env, FILE * f, static void cpu_sh4_reset(CPUSH4State * env) { #if defined(CONFIG_USER_ONLY) - env->sr = SR_FD; /* FD - kernel does lazy fpu context switch */ + env->sr = 0; #else env->sr = 0x700000F0; /* MD, RB, BL, I3-I0 */ #endif |