-
Notifications
You must be signed in to change notification settings - Fork 52
od: rs90: -O3, -fipa-pta, LTO #112
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
Conversation
Enables more optimizations for the rs90. Signed-off-by: Gleb Mazovetskiy <glex.spb@gmail.com>
|
@glebm got any perf numbers? |
|
Not sure which built-in application to use to measure the impact of this, closing for now |
|
For me personally, this configuration works well. |
|
Thanks for testing! Which version did you compare this one with? |
|
Tested the latest master version, same battery icon issue, maybe some other commit introduced or my device is damaged. |
|
The battery icon issue is definitely not related to this commit. |
|
It sounds really strange to me that a root filesystem compiled differently makes Gambatte faster. As for the change itself - I don't think it's a good idea to add all three flags at once, one of these might actually be a regression. I'd suggest enabling LTO first, since it should be the most influential. |
I've just realized that one of the system libs is SDL, and that one could have quite a bit of an impact due to blitting operations. |
|
And why would Gambatte use blitting operations? It renders to a 16-bit (or 32-bit) buffer, which gets blitted to the frame buffer? If so, that's very uneffective, it should render to the frame buffer directly in a double/triple buffering fashion. |
$ rg 'BR2_ENABLE_LTO\),y' --files-with-matches
package/wireshark/wireshark.mk
package/fastd/fastd.mk
package/rocksdb/rocksdb.mk
package/valgrind/valgrind.mk
package/unbound/unbound.mk
package/log4cplus/log4cplus.mk
package/netdata/netdata.mkPerhaps we could simply add |
|
Sent #113 with LTO, let's see if it builds |
|
I highly doubt so :) |
Just to be clear, I used gambatte with some additional modifications to expect it to work faster on rs90. One of the modifications is to turn on the yuv option, this is faster than the default way in real tests, which may change the way the graphic is output. |
AFAIK these flags are not used to build the kernel. The kernel uses its own set of flags, controlled only via |
|
I've sent 2 separate PRs:
Again, would appreciate testing |
|
Closing this now as part of it has been merged and another part extracted to #114 |
Enables more optimizations for the rs90.