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

Investigate targeting WASM Relaxed SIMD #44

Open
robertknight opened this issue Jul 1, 2022 · 0 comments
Open

Investigate targeting WASM Relaxed SIMD #44

robertknight opened this issue Jul 1, 2022 · 0 comments

Comments

@robertknight
Copy link
Owner

robertknight commented Jul 1, 2022

Tesseract is currently compiled to target SSE4, which Emscripten can map to WASM SIMD instructions. It has code which supports improved vector instructions beyond SSE4 (AVX, FMA). If it is possible for Emscripten to target these when configured to target WASM relaxed-simd (see WebAssembly/relaxed-simd#52), this could result in additional speed-up during text line recognition.

WASM Relaxed SIMD is currently supported in Firefox 103 and is being worked in Chrome.

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

1 participant