diff options
author | Yongbok Kim <yongbok.kim@imgtec.com> | 2014-11-01 05:28:37 +0000 |
---|---|---|
committer | Leon Alrae <leon.alrae@imgtec.com> | 2014-11-03 11:48:35 +0000 |
commit | b7651e95218d92f84b9602940c6412911372cd3b (patch) | |
tree | 326daa5979089978203554e3e577afa0ea109109 /target-mips/gdbstub.c | |
parent | b10ac20446019c7df77e51a30ed902b87fad8ec3 (diff) |
target-mips: remove duplicated mips/ieee mapping function
Remove the duplicated ieee_rm in gdbstub.c.
Make the other ieee_rm and ieee_ex_to_mips available to other files.
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Reviewed-by: Leon Alrae <leon.alrae@imgtec.com>
Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Diffstat (limited to 'target-mips/gdbstub.c')
-rw-r--r-- | target-mips/gdbstub.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/target-mips/gdbstub.c b/target-mips/gdbstub.c index 5b72d58a44..f65fec23cc 100644 --- a/target-mips/gdbstub.c +++ b/target-mips/gdbstub.c @@ -73,13 +73,6 @@ int mips_cpu_gdb_read_register(CPUState *cs, uint8_t *mem_buf, int n) return 0; } -/* convert MIPS rounding mode in FCR31 to IEEE library */ -static unsigned int ieee_rm[] = { - float_round_nearest_even, - float_round_to_zero, - float_round_up, - float_round_down -}; #define RESTORE_ROUNDING_MODE \ set_float_rounding_mode(ieee_rm[env->active_fpu.fcr31 & 3], \ &env->active_fpu.fp_status) |