SPRUI04F july 2015 – april 2023
The compiler can do better optimization in some cases, if the user aids the compiler by providing additional information in the code. The compiler can prompt you to take certain actions to improve performance, by emitting "Advice". To get this Advice, use the --advice:performance option:
cl6x --advice:performance -o3 filename.c
This Performance Advice is of 3 different types :
For more details on Using Performance Advice to Optimize your Code, see Section 4.15