Skip to content

sparse_strips: Port from reinterpret_* methods to bitcast - #1773

Merged
LaurenzV merged 1 commit into
linebender:mainfrom
Shnatsel:bitcast
Jul 31, 2026
Merged

sparse_strips: Port from reinterpret_* methods to bitcast#1773
LaurenzV merged 1 commit into
linebender:mainfrom
Shnatsel:bitcast

Conversation

@Shnatsel

Copy link
Copy Markdown
Contributor

Adjusts for linebender/fearless_simd#284

bitcast() was already present in earlier versions, so this still works with fearless_simd v0.4, all the way to the upcoming v0.7

The generated assembly is identical on SSE4.2 and AVX2. AVX-512 adds two register moves in the large function pt_splat_simd gets inlined into because the change perturbed the IR and resulted in different register allocator choices.

@LaurenzV LaurenzV changed the title Port from reinterpret_* methods that will be removed in fearless_simd v0.7 to bitcast() Port from reinterpret_* methods to bitcast Jul 31, 2026
@LaurenzV LaurenzV changed the title Port from reinterpret_* methods to bitcast sparse_strips: Port from reinterpret_* methods to bitcast Jul 31, 2026
@LaurenzV
LaurenzV added this pull request to the merge queue Jul 31, 2026
Merged via the queue into linebender:main with commit b377de1 Jul 31, 2026
20 checks passed
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.

2 participants