You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes it is expected that the compiler does not do any optimizations when that is what you ask for.
The "decent codegen" setting is opt-level=1. It's a much better experience when doing SIMD.
saethlin
added
C-discussion
Category: Discussion or questions that doesn't represent real issues.
and removed
C-bug
Category: This is a bug.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Sep 4, 2024
I tried this code:
I expected to see this happen: the intrinsics is inlined
Instead, this happened: SIMD intrinsics are never inlined in debug, and rustc generates
Meta
rustc --version --verbose
:The behavior is the same as Rust 1.53 (https://godbolt.org/z/v3qovqG3P). Is it expected behavior?
The text was updated successfully, but these errors were encountered: