Commit Graph

12 Commits

Author SHA1 Message Date
Jonas Maebe
0758aa1143 FPU exception mask: generlised system unit interface 2022-10-17 19:43:01 +00:00
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
Jonas Maebe
e3f451066b * support little endian in getFPSCR/setFPSCR
git-svn-id: trunk@30211 -
2015-03-14 18:36:11 +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
bbdf9fca73 - disabled fpc_qword_to_double() assembler version for AIX/ppc64 like for
AIX/ppc32
  + AIX/ppc64 support in powerpc64/mathu.inc (file is the same as
    powerpc/mathu.inc, should be unified)
  * fixed macos assembler code in powerpc64/strings.inc and enabled
    for AIX/ppc64

git-svn-id: trunk@20980 -
2012-04-22 10:40:57 +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
tom_at_work
a9df7aa81a * forgot to commit ppc64 gprt0.as used for gprof support
* fixed ppc64 exception mask stuff (same as 3136 for ppc32)

git-svn-id: trunk@3298 -
2006-04-20 11:55:06 +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
651f34e27c * ppc64: with -Or the compiler now also generates calls to helper functions in the function prolog/epilog instead of multiple stores/loads
* ppc64: moved function prolog/epilog helper code into startup code
* ppc64: added FPU configuration code in math unit (fixes tw3161)

git-svn-id: trunk@1786 -
2005-11-20 01:20:55 +00:00
peter
6bf3269b41 * powerpc64 port from Thomas Schatzl
git-svn-id: trunk@1193 -
2005-09-25 17:19:44 +00:00