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

Check if JIT is able to hoist these "constants" outside the loop. #92

Open
CarlVerret opened this issue Oct 22, 2021 · 0 comments
Open

Comments

@CarlVerret
Copy link
Owner

I guess the JIT isn't able to hoist these "constants" outside the loop.
As the caller is also guarded by #if HAS_INTRINSICS you could hoist these manually, and pass them in as arguments. Results in tighter code here, and should give a (little) perf-boost, as it's a loop body.

Originally posted by @gfoidl in #91 (comment)

@CarlVerret CarlVerret changed the title I guess the JIT isn't able to hoist these "constants" outside the loop. Check if JIT is able to hoist these "constants" outside the loop. Oct 22, 2021
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