/openbmc/linux/arch/mips/math-emu/ |
H A D | sp_sqrt.c | 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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> 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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>
|
H A D | sp_tint.c | 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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> 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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>
|
H A D | dp_tint.c | 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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> 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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>
|
H A D | dp_tlong.c | 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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> 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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>
|
H A D | sp_tlong.c | 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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> 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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>
|
H A D | dp_add.c | 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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> 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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>
|
H A D | dp_sub.c | 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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> 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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>
|
H A D | sp_add.c | 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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> 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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>
|
H A D | sp_sub.c | 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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> 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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>
|
H A D | dp_sqrt.c | 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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> 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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>
|
H A D | sp_fdp.c | 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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> 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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>
|
H A D | ieee754dp.c | 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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> 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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>
|
H A D | ieee754sp.c | 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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> 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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>
|
H A D | ieee754.h | 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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> 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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>
|
H A D | cp1emu.c | 2cfcf8a8 Fri Apr 03 17:24:56 CDT 2015 Maciej W. Rozycki <macro@linux-mips.org> MIPS: math-emu: Remove `modeindex' macro
Commit 56a64733 [MIPS: math-emu: Switch to using the MIPS rounding modes.] removed the distinction between hardware and emulator rounding mode encodings, the hardware encoding is now used in emulation as well. Complement the change and remove the `modeindex' macro previously used for indexing into encoding translation tables, it now does nothing and only obfuscates code by reinserting the value extracted from FCSR. Adjust comments accordingly.
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9680/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org> 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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> 2cfcf8a8 Fri Apr 03 17:24:56 CDT 2015 Maciej W. Rozycki <macro@linux-mips.org> MIPS: math-emu: Remove `modeindex' macro Commit 56a64733 [MIPS: math-emu: Switch to using the MIPS rounding modes.] removed the distinction between hardware and emulator rounding mode encodings, the hardware encoding is now used in emulation as well. Complement the change and remove the `modeindex' macro previously used for indexing into encoding translation tables, it now does nothing and only obfuscates code by reinserting the value extracted from FCSR. Adjust comments accordingly. Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9680/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org> 56a64733 Wed Apr 30 04:21:55 CDT 2014 Ralf Baechle <ralf@linux-mips.org> 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>
|