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

Opt-in std::simd support in zune-jpeg #222

Open
Shnatsel opened this issue Jul 28, 2024 · 1 comment
Open

Opt-in std::simd support in zune-jpeg #222

Shnatsel opened this issue Jul 28, 2024 · 1 comment

Comments

@Shnatsel
Copy link
Contributor

The std::simd module provides a safe, portable API for SIMD. Together with the multiversion crate it allows for SIMD that works from a single source file on every platform, and entirely in safe code!

The drawback is that it is nightly-only, and still technically unstable despite not having changed in quite some time. It would be great to add support for it and expose this as an opt-in feature, e.g. nightly-portable-simd. This would extend SIMD support to platforms not yet covered by intrinsics, such as WASM, and would allow people on nightly channel to use an implementation without unsafe code.

@etemesi254
Copy link
Owner

this would need porting of the idct function to simd, it's the only function that uses simd extensively

will see if feasible

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

No branches or pull requests

2 participants