summaryrefslogtreecommitdiff
path: root/compiler/powerpc
diff options
context:
space:
mode:
authorflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2012-08-08 19:35:45 +0000
committerflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2012-08-08 19:35:45 +0000
commit82d192e733f16c90334ad9c78efb0d00a66dea74 (patch)
tree91c3aab1c8ca85ebf183f5ee4ae27be888537eda /compiler/powerpc
parentb81be3fc7cbdf6f3839d1166120b023df341bd35 (diff)
downloadfpc-82d192e733f16c90334ad9c78efb0d00a66dea74.tar.gz
+ introduce -Oofastmath
* limit the application of the tree transformation introduced in r21986 to safe cases and -Oofastmath git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@22040 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/powerpc')
-rw-r--r--compiler/powerpc/cpuinfo.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/powerpc/cpuinfo.pas b/compiler/powerpc/cpuinfo.pas
index 5b4ebe6676..a4c216346f 100644
--- a/compiler/powerpc/cpuinfo.pas
+++ b/compiler/powerpc/cpuinfo.pas
@@ -78,7 +78,7 @@ Const
{ no need to write info about those }
[cs_opt_level1,cs_opt_level2,cs_opt_level3]+
[cs_opt_regvar,cs_opt_loopunroll,cs_opt_nodecse,
- cs_opt_tailrecursion,cs_opt_reorder_fields];
+ cs_opt_tailrecursion,cs_opt_reorder_fields,cs_opt_fastmath];
level1optimizerswitches = genericlevel1optimizerswitches;
level2optimizerswitches = genericlevel2optimizerswitches + level1optimizerswitches + [cs_opt_regvar,cs_opt_nodecse,cs_opt_tailrecursion];