-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GNUCC flag -O2 #64
Comments
-O3 used to miscompile a lot. Like, all the time. mingw was impossible to compile with -O3 (exe would crash as soon as you enter a map that used element collision -- which is pretty much every map except the starting map). I've seen problems on linux/gcc as well but i don't remember specifics anymore. I'll keep this issue as a reminder. In the meantime go ahead and build with -O3 if that works for you. And as a side note, about 3 years ago i started some off-repo work on improving perf on the rpi, but that was before the release of the rpi4 and i'm actually amazed how well this runs on a pi4 now even without further optimizations. So yes, proper rpi support is definitely on the list and i'd like to do more about it, but free time is SO hard to come by. |
Very happy to see that Aquaria is still being worked on, regardless (^_^)/. Over here it's really close to getting good enough for playing. The areas outside of home waters run very smooth most of the time at 720x480 resolution with a modest overclock (1.75Ghz cpu, 650mhz gpu). I think I'll do some more, uh, testing to confirm this. Speaking about warnings, the only ones (even at -o1) I am seeing are a mass of "always_inline function might not be inlinable"'s for the file miniz. That and cmake not finding the external tinyxml2 are the only things bugging me in the build process at the moment. Am I missing some huge log file or is gcc on the pi not that fuzzy? |
Is there still a reason for gnucc getting -o2 compiler flag by default?
Setting it to -ofast really improves performance on the Pi4. I'd suggest either removing the -o2 flag or adding the info to the readme for low-performance systems.
The text was updated successfully, but these errors were encountered: