OpenDingux / buildroot

Buildroot, making embedded Linux easy. Note that this is not the official repository, but only a mirror. The official Git repository is at http://git.buildroot.net/buildroot/. Do not open issues or file pull requests here.
http://buildroot.org
Other
63 stars 46 forks source link

od: rs90: use -fipa-pta #115

Closed glebm closed 1 year ago

glebm commented 1 year ago

Improves performance of emulators (e.g. gambatte on rs90) at the cost of slightly increased build times.

Per GCC documentation:

Perform interprocedural pointer analysis and interprocedural modification and reference analysis. This option can cause excessive memory and compile-time usage on large compilation units. It is not enabled by default at any optimization level.

pcercuei commented 1 year ago

Why only for rs90? Maybe enable it everywhere?

Also, please add a description to your commit, so that we at least know what is -fipa-pta, even if it means just paraphrasing the GCC doc (https://gcc.gnu.org/onlinedocs/gcc-9.1.0/gcc/Optimize-Options.html#Optimize-Options).

glebm commented 1 year ago

Done!

pcercuei commented 1 year ago

@glebm thanks. I'll merge it later if the autobuilders complete without issues.