Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.

Why -fast option is now removed?

fatvlad1744
Beginner
488 Views

Greetings,

 

icpc (ICC) 16.0.1 compiler had "-fast" option which was expanded to "-xHOST -O3 -ipo -no-prec-div -static -fp-model fast=2" according to the manual.

However, new compiler icpc (ICC) 2021.2.0 does not have this alias. What is the reason for deprecation?

 

Thanks in advance

 

0 Kudos
1 Solution
Viet_H_Intel
Moderator
384 Views

Seems like a bug in our help option. It has been missing since 19.0. AFAIK, -fast is still supported. If we plan to deprecate it, it will be informed.

You can see the list of deprecated options by "icc -help deprecated"

Thanks


View solution in original post

5 Replies
MRajesh_intel
Moderator
466 Views

Hi,


The -fast option is available in the ICC 2021.2 version.

Link: https://software.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-gui...


Example Usage: icpc -fast file.cpp


Please let us know if you face any issues.


Regards

Rajesh.


fatvlad1744
Beginner
460 Views

Hi Rajesh,

 

I looked through `icpc --help` output and haven't found "-fast" option while "-Ofast" is still there. Looks like it is simply missing from the manual, because it seems to add "-static" when I use "-fast". Can you confirm? Also, is there some specific reason why it is missing from the help string, is it considered deprecated?

 

Thanks

MRajesh_intel
Moderator
431 Views

Hi,


>>It seems to add "-static" when I use "-fast". 

As per documentation, -fast option includes -ipo, -O3, -static, -fp-model fast=2 options.


>>Is there some specific reason why it is missing from the help string

We are checking it internally and will get back to you.


Regards

Rajesh.


Viet_H_Intel
Moderator
385 Views

Seems like a bug in our help option. It has been missing since 19.0. AFAIK, -fast is still supported. If we plan to deprecate it, it will be informed.

You can see the list of deprecated options by "icc -help deprecated"

Thanks


Viet_H_Intel
Moderator
336 Views

Hi,


Since you have accepted the solution. Let us close this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.


Thanks,


Reply