This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GCC optimization options

Dear Sir or Madam,
     First, I want to find GCC optimization options that can greatly improve the performance, and I want to know the specific meaning of this option.
Besides,I found that ‘-ftree-sra’ 、'-finline-functions-called-once',may have an impact on performance improvement.
Therefore, I want to write test cases in depth to verify whether these options can optimize test results.
How to achieve this? How can the specific meaning of these options be clearly reflected through test cases?

    I am looking forward to your favorable replay.
Parents
  • For options with multiple default parameter values, how to determine the specific values of these compilation options behind different optimization levels?And  what is the specific optimization content of '-finline-functions-called-once'?

Reply
  • For options with multiple default parameter values, how to determine the specific values of these compilation options behind different optimization levels?And  what is the specific optimization content of '-finline-functions-called-once'?

Children
No data