Skip to content

Conversation

kalenedrael
Copy link
Contributor

These work around GCC not being able to optimize the baseline implementations to SIMD operations, and compilers in general not being able to know that the representation of batch_bool is a bitmask of all 0 or all 1, thus integer 0 or -1.

Also added some more robust tests for bool load/store that test for bitwise correctness (either 0 or 1).

These work around GCC not being able to optimize the baseline
implementations to SIMD operations, and compilers in general not being
able to know that the vector representation is a bitmask of all 0 or all
1, thus integer 0 or -1.

Also added some more robust tests for bool load/store that test for
bitwise correctness (either 0 or 1).
@kalenedrael
Copy link
Contributor Author

Currently wresting with the 12905790283 flavors and non-orthogonality of x86 SIMD instructions...

@serge-sans-paille serge-sans-paille merged commit 005f629 into xtensor-stack:master Oct 5, 2025
59 checks passed
@serge-sans-paille
Copy link
Contributor

I like this change, thanks!

serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
- Split some implementation that lived in sse4_1 while sse2 was a good
  home
- Avoid auxiliary function
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
- Split some implementation that lived in sse4_1 while sse2 was a good
  home
- Avoid auxiliary function
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
- Split some implementation that lived in sse4_1 while sse2 was a good
  home
- Avoid auxiliary function
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
- Split some implementation that lived in sse4_1 while sse2 was a good
  home
- Avoid auxiliary function
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
- Split some implementation that lived in sse4_1 while sse2 was a good
  home
- Avoid auxiliary function
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
- Split some implementation that lived in sse4_1 while sse2 was a good
  home
- Avoid auxiliary function
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 5, 2025
serge-sans-paille added a commit that referenced this pull request Oct 6, 2025
- Split some implementation that lived in sse4_1 while sse2 was a good
  home
- Avoid auxiliary function
serge-sans-paille added a commit that referenced this pull request Oct 6, 2025
serge-sans-paille added a commit that referenced this pull request Oct 6, 2025
serge-sans-paille added a commit that referenced this pull request Oct 6, 2025
serge-sans-paille added a commit that referenced this pull request Oct 6, 2025
serge-sans-paille added a commit that referenced this pull request Oct 6, 2025
serge-sans-paille added a commit that referenced this pull request Oct 6, 2025
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