diff options
author | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2014-11-16 20:47:38 +0000 |
---|---|---|
committer | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2014-11-16 20:47:38 +0000 |
commit | e4827c36fd5d9a718899819afbc78837c81198b9 (patch) | |
tree | acb5b37715efbd419ffa23f5d38e3f1b3834ddde /compiler/powerpc | |
parent | 6724e3993ae82d01905a9c3231ff9e85cc1b1ad5 (diff) | |
download | fpc-e4827c36fd5d9a718899819afbc78837c81198b9.tar.gz |
+ change always floating point divisions into multiplications if they are a power of two,
this is an exact operation so it is always allowed
* change only divisions by normal numbers into multiplications
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29085 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/powerpc')
-rw-r--r-- | compiler/powerpc/cpuinfo.pas | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/powerpc/cpuinfo.pas b/compiler/powerpc/cpuinfo.pas index 2a3b20d816..ac7b4e3cd1 100644 --- a/compiler/powerpc/cpuinfo.pas +++ b/compiler/powerpc/cpuinfo.pas @@ -21,6 +21,9 @@ Interface Type bestreal = double; +{$if FPC_FULLVERSION>20700} + bestrealrec = TDoubleRec; +{$endif FPC_FULLVERSION>20700} ts32real = single; ts64real = double; ts80real = extended; |