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

use SSE4/AVX2 for calculating planet orbits #1

Open
tristanpoland opened this issue Jul 8, 2024 · 2 comments
Open

use SSE4/AVX2 for calculating planet orbits #1

tristanpoland opened this issue Jul 8, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@tristanpoland
Copy link
Sponsor Member

Image

big optimization possible here; this uses sse2 despite my build command being RUSTFLAGS="-Zlocation-detail=none -Zthreads=4 -C target-cpu=native" cargo +nightly b --profile profiling

(where my cpu supports SSE4_1 and SSE4_2)

@tristanpoland tristanpoland added the enhancement New feature or request label Jul 8, 2024
@WilliamAnimate
Copy link
Contributor

the packed_simd crate requires a nightly compiler, so unless we're willing to work with a nightly toolchain, it won't build.

https://crates.io/crates/packed_simd

@WilliamAnimate
Copy link
Contributor

oh yeah, and this should probably be moved over to terraforge, because thats where orbit calculations are done, iirc.

@WilliamAnimate WilliamAnimate transferred this issue from Far-Beyond-Dev/Horizon-Community-Edition Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants