Skip to content
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

opt(compile): allow aggressive inline #747

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eastonman
Copy link
Member

this allows get_effective_address() and
isa_mmu_check() to be inlined.
this improves about 10% of speed on zen4

this allows get_effective_address() and
isa_mmu_check() to be inlined.
this improves about 10% of speed on zen4
@eastonman eastonman force-pushed the opt-allow-aggressive-inline branch from 0c3211a to 9fa9f82 Compare January 1, 2025 09:11

# Fine-tuned compiler options
ifeq ($(CC), gcc)
CFLAGS_BUILD += --param max-inline-insns-single=256 -falign-labels=32:9:64:15
Copy link
Member

@cebarobot cebarobot Jan 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to have a option in Kconfig? As there is already some options about compilation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants