Undocumented optimizations???

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Undocumented optimizations???

denisgolovan
Hi all

I've just tried checking fpc optimizations and found that some implemented optimization are not documented in fpc -io output.
e.g. http://wiki.freepascal.org/Optimization mentions AUTOINLINE, but fpc states only (Linux x64, svn rev. 40743):

 $ fpc -io
REGVAR
STACKFRAME
PEEPHOLE
LOOPUNROLL
TAILREC
CSE
DFA
USERBP
ORDERFIELDS
FASTMATH
REMOVEEMPTYPROCS
CONSTPROP
USELOADMODIFYSTORE

However doing something like fpc -Ooautoinline project1.lpr works fine.
Same thing with STRENGTH, SCHEDULE and some others.
Also compiling with SCHEDULE causes immediate AV in compiler.

Is it intentional to avoid usage of unstable code or just a miss in documentation?

--
Regards,
Denis Golovan
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Undocumented optimizations???

denisgolovan
Anybody home? :)

--
Regards,
Denis Golovan
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal