Commit Graph

15 Commits

Author SHA1 Message Date
pierre
3362abb30c * Set softfloat_rounding_mode indise SetRoundMode function for all CPUs.
* SetRoundMode returns previous rounding mode value for all CPUs.

git-svn-id: trunk@48018 -
2021-01-03 21:44:18 +00:00
sergei
bce33ee063 * software_rounding_mode -> softfloat_rounding_mode.
git-svn-id: trunk@27219 -
2014-03-21 07:45:13 +00:00
sergei
94a045aa3d * Moved declarations of TFPURoundingMode,TFPUExceptionMask and TFPUPrecisionMode to System unit. Declarations in Math unit changed to aliases.
* Changed type of softfloat_exception_mask and softfloat_exception_flags to TFPUExceptionMask, softfloat_rounding_mode to TFPURoundingMode.
- Cleaned out numerous conversions happening when getting/setting exception mask and rounding mode.

git-svn-id: trunk@27215 -
2014-03-20 22:44:46 +00:00
Jonas Maebe
c26ff16c1e * on AIX, you have to enable fpu exception reporting per process via an
OS call before changes to the fpscr exception mask have any effect
  * use OS calls to change FPU state on AIX, does not always propagate
    otherwise
  * don't use libc's log() on AIX, it wrongly returns a division-by-zero
    exception in some cases

git-svn-id: trunk@20815 -
2012-04-11 18:04:26 +00:00
Jonas Maebe
30a51c2dee + support for the different rounding modes in the generic rounding
routines (mantis #11392)

git-svn-id: trunk@11290 -
2008-06-27 17:20:56 +00:00
Jonas Maebe
65aa64d4ed * fixed ClearExceptions (clear pending exceptions instead of all config
bits)

git-svn-id: trunk@11244 -
2008-06-18 18:51:09 +00:00
Jonas Maebe
35fe1b27cd * GetExceptionMask returned inverted result for exInvalidOp
git-svn-id: trunk@3148 -
2006-04-05 07:46:18 +00:00
Jonas Maebe
0517ce08e2 * fixed ppc fpu exception mask stuff in math unit
+ added test for this functionality

git-svn-id: trunk@3136 -
2006-04-03 11:29:37 +00:00
Jonas Maebe
76857dbca9 * set result of SetPrecisionMode()
git-svn-id: trunk@2055 -
2005-12-26 15:52:57 +00:00
tom_at_work
174297c4cf * ppc32: added FPU configuration code in math unit (fixes tw3161)
git-svn-id: trunk@1787 -
2005-11-20 01:21:55 +00:00
peter
4ace790492 * remove $Log
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
florian
57943e4035 * initial implementation 2003-04-24 09:14:22 +00:00