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

Do not try to force inlining #2

Merged
merged 1 commit into from
Jan 13, 2019
Merged

Do not try to force inlining #2

merged 1 commit into from
Jan 13, 2019

Conversation

spth
Copy link
Contributor

@spth spth commented Jan 13, 2019

The code tried to force inlining, resulting in an error on C implementations where that is not possible. Anyway, I'd suggest not to use attribute((always_inline)) since it is not standard C.
Usually it is better to let the optimizer decide (or use the standard C inline keyword).
Removing the attribute((always_inline)) fixes issue #1.

Philipp

@freepdk freepdk merged commit bdd38fc into free-pdk:master Jan 13, 2019
@freepdk
Copy link
Contributor

freepdk commented Jan 13, 2019

Thank you very much. I did not have issues on my side.

Also thanks for the explanation. I was just so hungry for optimizing these functions for the emulation that I did not check for standard conformance.

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.

None yet

2 participants