CHEN Feng
34b4faee7c
Run the game on x86-64-v2 CPUs without AVX2
...
-march=x86-64-v3 kept the port and the installer to CPUs with AVX2 and FMA. --cpu v2 compiles the generated code and the runtime for SSE4.2 instead. Without FMA3 the FP lowering calls fma/fmaf, so runtime/fma.c provides correctly rounded ones (musl, MIT) that honour MXCSR's rounding mode, FTZ and DAZ; the UCRT's software fallback rounds incorrectly by up to half an ulp. simd.h's fast paths keep their assumptions.
The installer's host check asks for x86-64-v2 and selects libtotkrt.a or libtotkrt-v2.a; both release scripts build and ship the pair. The differential tests compile fma.c as well, so a --cflags=-march=x86-64-v2 run tests it.
Tested on an i7-3770K (no AVX2, FMA or BMI) with an RTX 3060 Ti, game 1.4.3: the installer ran end to end, --selftest passed and play holds 40-60 fps at 1080p. fma and fmaf matched 152,288 exact vectors over two seeds, including ties, subnormals and every rounding mode, FTZ and DAZ combination. The v3 build is unchanged: fma.c is an empty translation unit there.
2026-11-01 07:09:13 +08:00
..
2026-10-31 13:26:42 +03:00
2026-10-31 07:27:46 +03:00
2026-10-23 23:54:57 +03:00
2026-10-31 13:31:39 +03:00
2026-10-25 18:28:00 +03:00
2026-10-31 13:59:28 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-31 07:12:48 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 07:34:59 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 14:23:58 +03:00
2026-10-29 18:14:30 -03:00
2026-11-01 07:09:13 +08:00
2026-10-31 13:26:42 +03:00
2026-10-23 22:27:54 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-11-01 07:09:13 +08:00
2026-10-31 13:26:42 +03:00
2026-10-31 02:05:21 -03:00
2026-10-31 13:26:42 +03:00
2026-10-27 13:40:34 +03:00
2026-10-27 13:40:34 +03:00
2026-10-29 16:56:56 -03:00
2026-10-24 10:41:54 +03:00
2026-10-31 13:26:42 +03:00
2026-10-30 14:55:55 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 18:14:30 -03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 22:32:40 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-31 07:51:03 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-31 07:25:27 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 18:14:30 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-23 22:27:54 +03:00
2026-10-29 16:56:56 -03:00
2026-11-01 07:09:13 +08:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-23 22:27:54 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-27 13:12:50 +03:00
2026-10-29 12:58:01 +03:00
2026-10-23 22:27:54 +03:00
2026-10-29 12:58:01 +03:00
2026-10-29 12:58:01 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-23 22:27:54 +03:00
2026-10-27 13:12:50 +03:00
2026-10-26 14:31:41 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-27 13:12:50 +03:00
2026-10-26 17:50:40 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 02:03:34 -03:00
2026-10-27 15:21:41 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-31 14:23:58 +03:00
2026-10-23 22:27:54 +03:00
2026-10-31 14:23:58 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-28 12:25:25 +03:00
2026-11-01 07:09:13 +08:00
2026-10-29 16:56:56 -03:00
2026-10-29 17:29:31 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 12:41:12 +03:00
2026-10-29 12:41:12 +03:00
2026-10-31 13:26:42 +03:00
2026-10-23 22:27:54 +03:00
2026-10-25 14:14:46 +03:00
2026-10-29 17:29:31 -03:00
2026-10-31 07:27:46 +03:00
2026-10-26 16:48:02 +03:00
2026-10-30 13:40:04 +03:00
2026-10-26 16:48:02 +03:00
2026-10-31 13:31:39 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-30 19:48:38 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-30 14:55:55 -03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-30 23:50:02 +03:00
2026-10-31 07:27:46 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-30 23:50:02 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-23 22:27:54 +03:00
2026-10-31 13:26:42 +03:00