Skip to content

Conversation

@valadaptive
Copy link
Contributor

Stacked on #123 since it touches the same code.

Adding 64-bit integer types is tricky because SSE4.2 and AVX2 are missing some important 64-bit operations, and I don't feel comfortable implementing those until #124 is addressed. However, we already have mask64x[N] and f64x[N] types.

The f32s associated type has a Bytes = <Self::u32s as Bytes>::Bytes constraint, which misled me into thinking that a float type needs an associated int type, but that constraint is only there to assert that the two share the same Bytes type.

Copy link
Member

@DJMcNab DJMcNab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Again I'll approve post-rebase.

@valadaptive
Copy link
Contributor Author

This has been rebased and can be approved now.

@valadaptive valadaptive added this pull request to the merge queue Nov 19, 2025
Merged via the queue into linebender:main with commit ae86071 Nov 19, 2025
18 checks passed
@valadaptive valadaptive deleted the f64s branch November 19, 2025 06:49
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