MIPS: math-emu: Switch to using the MIPS rounding modes.
Previously math-emu was using the IEEE-754 constants internally. These
were differing by having the constants for rounding to +/- infinity
switched, so a conversion was necessary. This would be entirely
avoidable if the MIPS constants were used throughout, so get rid of
the bloat.
Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
Showing
- arch/mips/math-emu/cp1emu.c 7 additions, 28 deletionsarch/mips/math-emu/cp1emu.c
- arch/mips/math-emu/dp_add.c 2 additions, 2 deletionsarch/mips/math-emu/dp_add.c
- arch/mips/math-emu/dp_sqrt.c 4 additions, 4 deletionsarch/mips/math-emu/dp_sqrt.c
- arch/mips/math-emu/dp_sub.c 2 additions, 2 deletionsarch/mips/math-emu/dp_sub.c
- arch/mips/math-emu/dp_tint.c 4 additions, 4 deletionsarch/mips/math-emu/dp_tint.c
- arch/mips/math-emu/dp_tlong.c 4 additions, 4 deletionsarch/mips/math-emu/dp_tlong.c
- arch/mips/math-emu/ieee754.h 0 additions, 7 deletionsarch/mips/math-emu/ieee754.h
- arch/mips/math-emu/ieee754dp.c 12 additions, 12 deletionsarch/mips/math-emu/ieee754dp.c
- arch/mips/math-emu/ieee754sp.c 12 additions, 12 deletionsarch/mips/math-emu/ieee754sp.c
- arch/mips/math-emu/sp_add.c 2 additions, 2 deletionsarch/mips/math-emu/sp_add.c
- arch/mips/math-emu/sp_fdp.c 2 additions, 2 deletionsarch/mips/math-emu/sp_fdp.c
- arch/mips/math-emu/sp_sqrt.c 2 additions, 2 deletionsarch/mips/math-emu/sp_sqrt.c
- arch/mips/math-emu/sp_sub.c 2 additions, 2 deletionsarch/mips/math-emu/sp_sub.c
- arch/mips/math-emu/sp_tint.c 4 additions, 4 deletionsarch/mips/math-emu/sp_tint.c
- arch/mips/math-emu/sp_tlong.c 4 additions, 4 deletionsarch/mips/math-emu/sp_tlong.c
Loading
Please register or sign in to comment