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

Are CPU specific optimizations with -mcpu supported? #166

Open
konnextv opened this issue Feb 8, 2024 · 0 comments
Open

Are CPU specific optimizations with -mcpu supported? #166

konnextv opened this issue Feb 8, 2024 · 0 comments

Comments

@konnextv
Copy link

konnextv commented Feb 8, 2024

I am trying to build for aarch64 using
make CFLAGS="-mcpu=neoverse-n1 -O3" CXXFLAGS="-mcpu=neoverse-n1 -O3"

The build works but performance is much worse on the target system. (the resulting .so file is also ~1MB instead of ~5MB in my case)

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