Ingvar Stepanyan 52273943c6 Couple of fixes to allow SIMD on Emscripten
- Add `-msimd128` to flags to actually enable WebAssembly SIMD
   when performing SIMD detection. It's currently required in
   addition to `-msse*` / `-mfpu=neon` flags which only perform
   translation of corresponding intrinsics to Wasm SIMD ones.
   See a discussion at emscripten-core/emscripten#12714 for
   automating this and making easier in the future.
 - Remove compilation branch that prevented definitions of
   `WEBP_USE_SSE` and `WEBP_USE_NEON` on Emscripten even when
   SIMD support was detected at compile-time.
 - Add an implementation of `VP8GetCPUInfo` for Emscripten which
   uses static `WEBP_USE_*` flags to determine if a corresponding
   SIMD instruction is supported. This is because Wasm doesn't
   have proper feature detection (yet) and requires making separate
   build for SIMD version anyway.

Change-Id: I77592081b91fd0e4cbc9242f5600ce905184f506
2020-11-18 21:51:41 +00:00
..
2018-11-14 11:46:58 -08:00
2018-11-14 11:46:40 -08:00
2018-04-17 18:01:34 -07:00
2018-10-16 14:12:03 +02:00
2019-11-06 14:08:14 +01:00
2020-03-20 11:39:06 +01:00
2018-12-03 22:59:12 +00:00
2019-03-30 06:43:55 +00:00
2019-03-30 06:43:55 +00:00
2019-03-30 06:43:55 +00:00
2019-03-30 06:43:55 +00:00
2017-11-22 17:35:39 -08:00
2018-04-17 18:01:34 -07:00
2018-04-17 18:01:34 -07:00