[fpc-devel] What exactly are the differences in what each of the "-Cp", "-Cf", and "-Op" command line flags enable as far as optimizations?

Ben Grasset operator97 at gmail.com
Tue Sep 8 01:03:07 CEST 2020


For example, a valid FPC command line would be:

fpc -O3 -CfAVX2 -CpCOREAVX2 -OpCOREAVX2 file.pas

To what extent is each of those flags enabling the generation of AVX2
instructions? Are they all necessary, or does their functionality overlap
to some degree? Which is most important?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20200907/ed0ef208/attachment.htm>


More information about the fpc-devel mailing list