8000 add emscripten simd support by walkingeyerobot · Pull Request #475 · strukturag/libde265 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add emscripten simd support #475

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

walkingeyerobot
Copy link

Emscripten supports compiling existing simd code that uses the x86 SSE intrinsics. This change this significantly increases performance for libde265 under Emscripten. See https://emscripten.org/docs/porting/simd.html for their docs.

Emscripten does not supply cpuid.h, and WebAssembly does not have a cpuid instruction. We can instead rely on some Emscripten provided defines.

There are several ways to spell the preprocessor statements here. I'm happy to change what I have if needed.

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.

1 participant
0