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

@code_native doesn't show assembly for C++ function #462

Open
klaff opened this issue Feb 14, 2020 · 0 comments
Open

@code_native doesn't show assembly for C++ function #462

klaff opened this issue Feb 14, 2020 · 0 comments

Comments

@klaff
Copy link

klaff commented Feb 14, 2020

cxx"""
double f(double x)
{
    return 2.0*pow(x,4)-3.0*pow(x,3)+2.0*pow(x,2)-x;
}
"""
jf(x) = @cxx f(x)

Trying to inspect the assembly code created by doing @code_native jf(2.0) does not show the assembly for f(x) but appears to show assembly for code that calls f(x).

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

No branches or pull requests

1 participant