Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SIMD support in encodings #584

Merged
merged 2 commits into from
May 10, 2024
Merged

Add SIMD support in encodings #584

merged 2 commits into from
May 10, 2024

Conversation

madsmtm
Copy link
Owner

@madsmtm madsmtm commented Feb 15, 2024

Fixes #582 as far as we can right now, Rust/Clang/GCC still needs to figure out the ABI of these types when passing them across FFI.

Tested on the major architectures we support:

  • Armv7
  • AArch64
  • x86_64
  • x86

You can see a quick summary of the places that this currently doesn't work in the test_simd_return.rs test.

@madsmtm madsmtm added enhancement New feature or request A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates labels Feb 15, 2024
@madsmtm madsmtm changed the title Add SIMD support Add SIMD support in encodings May 9, 2024
@madsmtm madsmtm marked this pull request as ready for review May 9, 2024 22:38
@madsmtm madsmtm merged commit f684e70 into master May 10, 2024
19 checks passed
@madsmtm madsmtm deleted the support-simd branch May 10, 2024 00:05
madsmtm added a commit that referenced this pull request May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add some examples/documentation for standard use cases (e..g, getting an ObjC struct into rust)
1 participant