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

CRT functions don't get inlined anymore #8

Open
fwsGonzo opened this issue Jan 16, 2024 · 1 comment
Open

CRT functions don't get inlined anymore #8

fwsGonzo opened this issue Jan 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@fwsGonzo
Copy link
Owner

After a certain change CRT functions stopped getting inlined. What happened?

$ riscv64-unknown-elf-objdump -drl level1.elf | grep memcpy | grep jal | wc -l
136

This was not the case when I implemented this feature.

@fwsGonzo fwsGonzo added the bug Something isn't working label Jan 16, 2024
@fwsGonzo
Copy link
Owner Author

With some experimentation, basic heap allocations are now inlined again. Still missing memory- and string- operations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant