-
Notifications
You must be signed in to change notification settings - Fork 2
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
Project status #2
Comments
Thans for your attention! But I don't think there's anything to do with the ndarray and the compiler. Vectorization in the compiler is oriented towards more general numerical computations, without the need for scenario-specific functionality such as ndarray. |
About the project status, some previous discussions in Rust's internal forum: https://internals.rust-lang.org/t/mir-optimization-pass-that-implements-auto-vectorization/16360 In general, the community thinks that automatic vectorization should be the work of LLVM and not in rustc. |
Thank you for letting me know! |
I later used pub fn g_update(&mut self) -> &Self{
for (dest, p1, p2, p3, p4, p5) in izip!(
&mut self.dest,
&self.p1,
&self.p2,
&self.p3,
&self.p4,
&self.p5
) {
*dest = p1 * p2 * p3 * p4 * p5;
}
self
} The asm reads below
I haven't gotten |
Hello!
I'm new to rust and found this repository from here: rust-ndarray/ndarray#46. Are the changes in this repository going to make into the compiler? It will save a significant amount of efforts in vectorization.
Thanks
The text was updated successfully, but these errors were encountered: