Files
cglm/include/cglm
myfreeer 009405adcd wasm: prefer pmin/pmax
According to [emscripten](https://emscripten.org/docs/porting/simd.html) and [v8](b6520eda5e/src/compiler/backend/x64/code-generator-x64.cc (L2661-L2699)), `[f32x4|f64x2].[min|max]` compiles to much more instructions than `[f32x4|f64x2].[pmin|pmax]`.
It is defined in [spec](https://github.com/WebAssembly/spec/blob/main/proposals/simd/SIMD.md#floating-point-min-and-max) that the difference between pmin/pmax and min/max is NaN-propagating behavior, and the equivalent to the x86 `_mm_min_ps`/`_mm_max_ps` is pmin/pmax in [v8](b6520eda5e/src/compiler/backend/x64/code-generator-x64.cc (L2740-L2747)).
This should make functions with min/max faster on webassembly, and align with the existing behavior with x86 sse.
2023-12-02 09:54:49 +08:00
..
2023-10-11 16:51:14 -03:00
2022-10-22 23:06:46 +03:00
2023-06-12 13:56:49 +03:00
2022-10-23 14:27:34 +03:00
2022-10-23 14:22:16 +03:00
2022-10-18 15:43:07 +03:00
2019-11-07 22:43:47 +03:00
2023-07-08 23:13:20 +03:00
2021-02-28 23:12:06 +03:00
2023-07-17 22:57:52 -04:00
2023-07-17 22:57:52 -04:00
2019-06-03 12:12:50 +03:00
2020-05-01 01:07:18 +03:00
2019-05-07 16:16:00 -05:00
2023-05-14 20:30:36 -05:00
2023-05-14 20:56:25 -05:00
2023-05-14 20:10:48 -05:00
2020-04-30 10:15:55 +03:00
2023-07-17 22:57:52 -04:00
2023-12-01 04:19:47 +03:00
2023-06-16 17:40:06 +09:00
2023-10-11 16:51:14 -03:00
2023-06-16 17:40:06 +09:00
2023-07-02 13:25:25 -05:00
2023-11-16 13:06:51 +03:00
2023-12-02 09:54:49 +08:00
2023-08-10 09:20:39 +03:00