Skip to content

Add simd_ne and use it internally where beneficial - #408

Merged
Shnatsel merged 4 commits into
linebender:mainfrom
Shnatsel:simd_ne
Oct 2, 2026
Merged

Shnatsel merged 4 commits into
linebender:mainfrom
Shnatsel:simd_ne

Conversation

@Shnatsel

@Shnatsel Shnatsel commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

LLVM doesn't reliably instcombine !simd_eq into simd_ne for floats on x86, so expose it explicitly, and reuse it to optimize the float classification methods added in #405

Comment thread fearless_simd_gen/src/generic.rs Outdated
…changed, at least on isolated kernels, because LLVM was already rewriting the code into something similar.
@Shnatsel
Shnatsel added this pull request to the merge queue Oct 2, 2026
Merged via the queue into linebender:main with commit 0c9e682 Oct 2, 2026
23 checks passed
@Shnatsel
Shnatsel deleted the simd_ne branch October 2, 2026 19:32
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

Successfully merging this pull request may close these issues.

3 participants