Zhi An Ng ed665a15e8 Add preliminary support of targeting Wasm
This builds on the work on portable-intrinsics branch:

- define WEBP_ENABLE_WASM_SIMD to enable WebAssembly optimizations, this
defines a constant (WEBP_USE_WASM_SIMD) that we can use in the future to
enable Wasm SIMD intrinsics
- build dwebp with JS build
- add a placeholder dec_wasm.c file, we don't do any special
initialization so it will fall back to c functions
- add Wasm to cpu checks, it needs to come before all checks since the
Emscripten toolchain will emulate x86 systems

Change-Id: I12de720304ff19fff82c8d100defbc60353787a9
2021-11-15 15:17:11 -08:00
..
2021-04-12 17:28:15 -07:00