Skip to content

Commit

Permalink
target-mips/gdbstub: remove old CONFIG_SOFTFLOAT #ifndef
Browse files Browse the repository at this point in the history
target-mips has been switched to softfloat only long ago, but
a #ifndef CONFIG_SOFTFLOAT has been forgotten. Remove it.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  • Loading branch information
aurel32 committed Jun 3, 2011
1 parent 2c0d18d commit 142ab5b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions gdbstub.c
Expand Up @@ -1105,10 +1105,6 @@ static int cpu_gdb_write_register(CPUState *env, uint8_t *mem_buf, int n)
env->active_fpu.fcr31 = tmp & 0xFF83FFFF;
/* set rounding mode */
RESTORE_ROUNDING_MODE;
#ifndef CONFIG_SOFTFLOAT
/* no floating point exception for native float */
SET_FP_ENABLE(env->active_fpu.fcr31, 0);
#endif
break;
case 71: env->active_fpu.fcr0 = tmp; break;
}
Expand Down

0 comments on commit 142ab5b

Please sign in to comment.