tests: split four long CPU checks into parallel ctest cases #2481

Merged
tedin7 merged 5 commits from upstream-pr/2489 into main 2026-11-26 00:24:53 +00:00
tedin7 commented 2026-11-25 18:16:52 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T18:16:52Z.


Part of #870 (no open CI-time issue found; nearest orchestration issue)

What this unblocks: shorter Windows checks per merge.

cpu_aot_sse_fp_pd, cpu_aot_x87_fprem, cpu_aot_x87_scale and cpu_aot_xchg each run one long Python check in a single CTest case (27-44 s each). This change splits each check into parallel CTest cases, so the wall time of each becomes about the longest part. Expected saving: roughly 40-60 s of wall time across the four tests with the parallel pool.

Coverage is identical:

  • The check bodies are only moved into functions (check_library, check_target, check_controls, check_lifted, check_native, check_light, and a part selector in sse_fp_pd_check.py). Same cases, same asserts, same messages. The original check mode still runs everything, in the original order.
  • New cases: <test>_<part> (sse_fp_pd: differential, modes, cmp_differential, cmp_modes; xchg and x87_scale: native, lifted, controls; x87_fprem: lifted, native, controls). Each is a CTest fixture setup.
  • The original names (cpu_aot_sse_fp_pd, cpu_aot_xchg, cpu_aot_x87_scale, cpu_aot_x87_fprem) are kept. Each now runs the cheap remainder (rejections, or the hand-worked model plus rejections) and requires all its parts through FIXTURES_REQUIRED. If any part fails, the original is "Not Run" (JUnit notrun), so tools/form_coverage.py and the ; coverage: source <name> headers still count the fixture only when every part passed. The docs commands ctest -R '^cpu_aot_xchg$' still run the parts automatically.
  • Part names are new and unique, so the duplicate-name check in form_coverage.py is not affected.

Verification:

  • python3 -m py_compile tests/cpu/xchg.py tests/cpu/x87_scale.py tests/cpu/x87_fprem.py tests/cpu/sse_fp_pd_check.py -> OK.
  • CMake fixture behaviour, tried in a small stand-alone project with the same two helper functions: with one part failing, ctest -j2 --output-junit gives the original as Not Run and status="notrun" in the JUnit file.
  • Same-work proof (the DLL calls are stubbed, since Linux cannot load them): the multiset of calls made by the full check(...) equals the union of the calls made by the parts. xchg: 13 calls both ways; x87_scale: 19 both ways; x87_fprem: 14 both ways. sse_fp_pd_check.py: with no part it runs the same five checks as before; the five parts are those five checks, one each.
  • Win2025 dev+release: pending Stage-2.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6610849035 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2489). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T18:16:52Z. --- Part of #870 (no open CI-time issue found; nearest orchestration issue) What this unblocks: shorter Windows checks per merge. `cpu_aot_sse_fp_pd`, `cpu_aot_x87_fprem`, `cpu_aot_x87_scale` and `cpu_aot_xchg` each run one long Python check in a single CTest case (27-44 s each). This change splits each check into parallel CTest cases, so the wall time of each becomes about the longest part. Expected saving: roughly 40-60 s of wall time across the four tests with the parallel pool. Coverage is identical: - The check bodies are only moved into functions (`check_library`, `check_target`, `check_controls`, `check_lifted`, `check_native`, `check_light`, and a part selector in `sse_fp_pd_check.py`). Same cases, same asserts, same messages. The original `check` mode still runs everything, in the original order. - New cases: `<test>_<part>` (`sse_fp_pd`: differential, modes, cmp_differential, cmp_modes; `xchg` and `x87_scale`: native, lifted, controls; `x87_fprem`: lifted, native, controls). Each is a CTest fixture setup. - The original names (`cpu_aot_sse_fp_pd`, `cpu_aot_xchg`, `cpu_aot_x87_scale`, `cpu_aot_x87_fprem`) are kept. Each now runs the cheap remainder (rejections, or the hand-worked model plus rejections) and requires all its parts through `FIXTURES_REQUIRED`. If any part fails, the original is "Not Run" (JUnit `notrun`), so `tools/form_coverage.py` and the `; coverage: source <name>` headers still count the fixture only when every part passed. The docs commands `ctest -R '^cpu_aot_xchg$'` still run the parts automatically. - Part names are new and unique, so the duplicate-name check in `form_coverage.py` is not affected. Verification: - `python3 -m py_compile tests/cpu/xchg.py tests/cpu/x87_scale.py tests/cpu/x87_fprem.py tests/cpu/sse_fp_pd_check.py` -> OK. - CMake fixture behaviour, tried in a small stand-alone project with the same two helper functions: with one part failing, `ctest -j2 --output-junit` gives the original as `Not Run` and `status="notrun"` in the JUnit file. - Same-work proof (the DLL calls are stubbed, since Linux cannot load them): the multiset of calls made by the full `check(...)` equals the union of the calls made by the parts. `xchg`: 13 calls both ways; `x87_scale`: 19 both ways; `x87_fprem`: 14 both ways. `sse_fp_pd_check.py`: with no part it runs the same five checks as before; the five parts are those five checks, one each. - Win2025 dev+release: pending Stage-2. AI-assisted; commands listed were executed locally.
ChazY11 commented 2026-11-25 19:04:14 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T18:39:59Z.


The split is wired correctly, and I verified the part that matters by running it

Three things I checked mechanically rather than by reading:

1. A failing part makes the aggregate fail — it is not a silent skip. The build products for cpu_xchg_lifted and cpu_xchg_controls do not exist on this machine, so the parts fail for a real reason and I could watch the wiring:

ctest --preset dev -R '^cpu_aot_xchg' --output-on-failure
    1/4 Test #1063: cpu_aot_xchg_native ..............   Passed   13.39 sec
    2/4 Test #1064: cpu_aot_xchg_lifted ..............***Failed    0.65 sec
    3/4 Test #1065: cpu_aot_xchg_controls ............***Failed    0.66 sec
    Failed test dependencies: cpu_aot_xchg_controls cpu_aot_xchg_lifted
    4/4 Test #1066: cpu_aot_xchg .....................***Not Run   0.00 sec
    25% tests passed, 3 tests failed out of 4

Not Run lands in the FAILED summary, not in the capability-skip bucket, which is the property that makes FIXTURES_REQUIRED safe here. If it had come back as a skip (77) instead, a broken part could have looked like an unavailable adapter.

2. Every part of each aggregate is required. Three of the four parse cleanly from the CMake text:

cpu_aot_xchg       parts=3  required=3  ok
cpu_aot_x87_scale  parts=3  required=3  ok
cpu_aot_x87_fprem  parts=3  required=3  ok

cpu_aot_sse_fp_pd is a foreach(part IN ITEMS …) loop, which my regex cannot follow — I counted it by hand instead: four parts registered (differential, modes, cmp_differential, cmp_modes) and x2w_require_check_parts(cpu_aot_sse_fp_pd differential modes cmp_differential cmp_modes), so it is also ok. My parse flagging it is a limitation of the check, not a finding.

3. No form-coverage record is lost. None of these four tests set FORM_COVERAGE_RECORD on main either, so the split does not drop a record that used to exist.

What the aggregate still covers

cpu_aot_xchg now runs check-rejections — the part that needs no fixture — and the three DLL checks run in parallel. That is the right remainder: the rejection cases are cheap and independent, and keeping them on the aggregate means ctest -R '^cpu_aot_xchg$' still exercises something rather than being an empty gate.

One thing to decide deliberately

The script keeps its old check mode (check_library native + lifted + check_controls + check_rejections) even though CTest no longer calls it. That is harmless and useful for a human running the file directly — but it does mean a local python tests/cpu/xchg.py check … takes the full serial path, while CTest takes the parallel one. Worth a sentence in the file header so the next person does not conclude the parts are the only coverage.

Caveat on my verification

I could not run the split to completion — the lifted DLLs are not built here (full CMake build fails in DXC on this host with unable to create compilation: AccessDenied, unrelated to this PR). What I verified is the CTest wiring and the failure propagation, plus that cpu_aot_xchg_native passed on its own, which at least shows a part can succeed independently of the aggregate.

AI-assisted; the ctest runs were executed locally on Windows 11 build 26300.9974.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7171224434 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2489#issuecomment-7171224434). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-25T18:39:59Z. --- ## The split is wired correctly, and I verified the part that matters by running it Three things I checked mechanically rather than by reading: **1. A failing part makes the aggregate fail — it is not a silent skip.** The build products for `cpu_xchg_lifted` and `cpu_xchg_controls` do not exist on this machine, so the parts fail for a real reason and I could watch the wiring: ```text ctest --preset dev -R '^cpu_aot_xchg' --output-on-failure 1/4 Test #1063: cpu_aot_xchg_native .............. Passed 13.39 sec 2/4 Test #1064: cpu_aot_xchg_lifted ..............***Failed 0.65 sec 3/4 Test #1065: cpu_aot_xchg_controls ............***Failed 0.66 sec Failed test dependencies: cpu_aot_xchg_controls cpu_aot_xchg_lifted 4/4 Test #1066: cpu_aot_xchg .....................***Not Run 0.00 sec 25% tests passed, 3 tests failed out of 4 ``` `Not Run` lands in the FAILED summary, not in the capability-skip bucket, which is the property that makes `FIXTURES_REQUIRED` safe here. If it had come back as a skip (77) instead, a broken part could have looked like an unavailable adapter. **2. Every part of each aggregate is required.** Three of the four parse cleanly from the CMake text: ```text cpu_aot_xchg parts=3 required=3 ok cpu_aot_x87_scale parts=3 required=3 ok cpu_aot_x87_fprem parts=3 required=3 ok ``` `cpu_aot_sse_fp_pd` is a `foreach(part IN ITEMS …)` loop, which my regex cannot follow — I counted it by hand instead: four parts registered (`differential`, `modes`, `cmp_differential`, `cmp_modes`) and `x2w_require_check_parts(cpu_aot_sse_fp_pd differential modes cmp_differential cmp_modes)`, so it is also `ok`. My parse flagging it is a limitation of the check, not a finding. **3. No form-coverage record is lost.** None of these four tests set `FORM_COVERAGE_RECORD` on `main` either, so the split does not drop a record that used to exist. ## What the aggregate still covers `cpu_aot_xchg` now runs `check-rejections` — the part that needs no fixture — and the three DLL checks run in parallel. That is the right remainder: the rejection cases are cheap and independent, and keeping them on the aggregate means `ctest -R '^cpu_aot_xchg$'` still exercises something rather than being an empty gate. ## One thing to decide deliberately The script keeps its old `check` mode (`check_library` native + lifted + `check_controls` + `check_rejections`) even though CTest no longer calls it. That is harmless and useful for a human running the file directly — but it does mean a local `python tests/cpu/xchg.py check …` takes the full serial path, while CTest takes the parallel one. Worth a sentence in the file header so the next person does not conclude the parts are the only coverage. ## Caveat on my verification I could not run the split to completion — the lifted DLLs are not built here (full CMake build fails in DXC on this host with `unable to create compilation: AccessDenied`, unrelated to this PR). What I verified is the CTest wiring and the failure propagation, plus that `cpu_aot_xchg_native` **passed** on its own, which at least shows a part can succeed independently of the aggregate. AI-assisted; the `ctest` runs were executed locally on Windows 11 build 26300.9974.
tedin7 commented 2026-11-25 19:04:17 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T18:54:55Z.


Thanks for running the wiring. The header note is in db75c505.

  • tests/cpu/xchg.py header now says CTest runs check-native, check-lifted and check-controls as parallel cases and keeps check-rejections on the aggregate, and that check still runs every part serially for a direct run.
  • Same one-line note in x87_fprem.py and x87_scale.py; sse_fp_pd_check.py says that passing no part name still runs all five parts serially.
  • Docstring changes only, no code change.

Commands run locally (Linux): python3 -B -m py_compile on the four files (ok), git diff --check (clean). Win2025 dev+release on the new head is still pending.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7171574314 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2489#issuecomment-7171574314). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T18:54:55Z. --- Thanks for running the wiring. The header note is in db75c505. - `tests/cpu/xchg.py` header now says CTest runs check-native, check-lifted and check-controls as parallel cases and keeps check-rejections on the aggregate, and that `check` still runs every part serially for a direct run. - Same one-line note in `x87_fprem.py` and `x87_scale.py`; `sse_fp_pd_check.py` says that passing no part name still runs all five parts serially. - Docstring changes only, no code change. Commands run locally (Linux): `python3 -B -m py_compile` on the four files (ok), `git diff --check` (clean). Win2025 dev+release on the new head is still pending. AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-25 20:04:46 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T19:42:10Z.


The Win2025 run on db75c505 found a real bug in this split: cpu_aot_x87_scale and cpu_aot_x87_fprem call check-rejections / check-light with no file paths, and the old mode, first, second, *rest = sys.argv[1:] raised ValueError: not enough values to unpack (both aggregates failed in 0.13 s). Fixed in 70be1807: the mode is read first and the paths are optional. Linux repro before the fix: python3 tests/cpu/x87_scale.py check-rejections stopped at the unpack; after it, it gets past argument parsing. Receipt on the new head:

Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit 70be180770d5a3484edc0ed18685ec1b1d484267:

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target cpu_xchg cpu_xchg_lifted cpu_xchg_oneway cpu_xchg_plain cpu_sse_fp_pd_original cpu_sse_fp_pd_original_lifted cpu_sse_fp_pd_altered_lifted cpu_sse_fp_harness cpu_x87_harness cpu_x87_fprem cpu_x87_fprem_d63 cpu_x87_fprem_halfnear cpu_x87_fprem_lifted cpu_x87_fprem_nonan cpu_x87_fprem_nopartial cpu_x87_fprem_qswap cpu_x87_fprem_tieup cpu_x87_fprem_truncate1 cpu_x87_fprem_zerosign cpu_x87_scale cpu_x87_scale_chop cpu_x87_scale_floor cpu_x87_scale_lifted cpu_x87_scale_neginf cpu_x87_scale_pc53 cpu_x87_scale_swap cpu_x87_scale_zeroinf -- -j 2): 6.60s (configure 0.00s)
    • Test (ctest --preset dev -R '^cpu_aot_(sse_fp_pd|x87_fprem|x87_scale|xchg)(_native|_lifted|_controls|_differential|_modes|_cmp_differential|_cmp_modes)?$' --parallel 2 --no-tests=error --output-on-failure): 17/17 passed (97.69s: cpu_aot_x87_scale_controls 22.26s, cpu_aot_xchg_controls 29.74s, cpu_aot_sse_fp_pd_modes 27.53s, cpu_aot_x87_scale_lifted 21.65s, cpu_aot_x87_scale_native 20.25s, cpu_aot_x87_fprem_native 28.42s, cpu_aot_xchg_native 11.11s, cpu_aot_xchg_lifted 8.96s, cpu_aot_x87_fprem_controls 8.67s, cpu_aot_x87_fprem_lifted 6.50s, cpu_aot_sse_fp_pd_differential 2.61s, cpu_aot_sse_fp_pd_cmp_modes 5.26s, cpu_aot_sse_fp_pd_cmp_differential 0.69s, cpu_aot_x87_scale 0.29s, cpu_aot_xchg 0.24s, cpu_aot_sse_fp_pd 0.32s, cpu_aot_x87_fprem 0.26s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target cpu_xchg cpu_xchg_lifted cpu_xchg_oneway cpu_xchg_plain cpu_sse_fp_pd_original cpu_sse_fp_pd_original_lifted cpu_sse_fp_pd_altered_lifted cpu_sse_fp_harness cpu_x87_harness cpu_x87_fprem cpu_x87_fprem_d63 cpu_x87_fprem_halfnear cpu_x87_fprem_lifted cpu_x87_fprem_nonan cpu_x87_fprem_nopartial cpu_x87_fprem_qswap cpu_x87_fprem_tieup cpu_x87_fprem_truncate1 cpu_x87_fprem_zerosign cpu_x87_scale cpu_x87_scale_chop cpu_x87_scale_floor cpu_x87_scale_lifted cpu_x87_scale_neginf cpu_x87_scale_pc53 cpu_x87_scale_swap cpu_x87_scale_zeroinf -- -j 2): 97.70s (configure 0.00s)
    • Test (ctest --preset release -R '^cpu_aot_(sse_fp_pd|x87_fprem|x87_scale|xchg)(_native|_lifted|_controls|_differential|_modes|_cmp_differential|_cmp_modes)?$' --parallel 2 --no-tests=error --output-on-failure): 17/17 passed (78.90s: cpu_aot_sse_fp_pd_differential 2.46s, cpu_aot_sse_fp_pd_cmp_differential 0.76s, cpu_aot_sse_fp_pd_cmp_modes 5.85s, cpu_aot_sse_fp_pd_modes 17.78s, cpu_aot_xchg_native 9.71s, cpu_aot_xchg_lifted 9.70s, cpu_aot_xchg_controls 17.19s, cpu_aot_x87_scale_native 13.92s, cpu_aot_x87_scale_lifted 13.98s, cpu_aot_x87_fprem_lifted 7.72s, cpu_aot_x87_scale_controls 17.47s, cpu_aot_x87_fprem_controls 9.63s, cpu_aot_sse_fp_pd 0.34s, cpu_aot_xchg 0.28s, cpu_aot_x87_scale 0.31s, cpu_aot_x87_fprem_native 20.81s, cpu_aot_x87_fprem 0.27s)
  • sccache: -97/-163 hits; wall 196.2s

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7172654107 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2489#issuecomment-7172654107). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T19:42:10Z. --- The Win2025 run on db75c505 found a real bug in this split: `cpu_aot_x87_scale` and `cpu_aot_x87_fprem` call `check-rejections` / `check-light` with no file paths, and the old `mode, first, second, *rest = sys.argv[1:]` raised `ValueError: not enough values to unpack` (both aggregates failed in 0.13 s). Fixed in 70be1807: the mode is read first and the paths are optional. Linux repro before the fix: `python3 tests/cpu/x87_scale.py check-rejections` stopped at the unpack; after it, it gets past argument parsing. Receipt on the new head: Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `70be180770d5a3484edc0ed18685ec1b1d484267`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target cpu_xchg cpu_xchg_lifted cpu_xchg_oneway cpu_xchg_plain cpu_sse_fp_pd_original cpu_sse_fp_pd_original_lifted cpu_sse_fp_pd_altered_lifted cpu_sse_fp_harness cpu_x87_harness cpu_x87_fprem cpu_x87_fprem_d63 cpu_x87_fprem_halfnear cpu_x87_fprem_lifted cpu_x87_fprem_nonan cpu_x87_fprem_nopartial cpu_x87_fprem_qswap cpu_x87_fprem_tieup cpu_x87_fprem_truncate1 cpu_x87_fprem_zerosign cpu_x87_scale cpu_x87_scale_chop cpu_x87_scale_floor cpu_x87_scale_lifted cpu_x87_scale_neginf cpu_x87_scale_pc53 cpu_x87_scale_swap cpu_x87_scale_zeroinf -- -j 2`): `6.60s` (configure `0.00s`) - Test (`ctest --preset dev -R '^cpu_aot_(sse_fp_pd|x87_fprem|x87_scale|xchg)(_native|_lifted|_controls|_differential|_modes|_cmp_differential|_cmp_modes)?$' --parallel 2 --no-tests=error --output-on-failure`): **17/17 passed** (`97.69s`: `cpu_aot_x87_scale_controls` `22.26s`, `cpu_aot_xchg_controls` `29.74s`, `cpu_aot_sse_fp_pd_modes` `27.53s`, `cpu_aot_x87_scale_lifted` `21.65s`, `cpu_aot_x87_scale_native` `20.25s`, `cpu_aot_x87_fprem_native` `28.42s`, `cpu_aot_xchg_native` `11.11s`, `cpu_aot_xchg_lifted` `8.96s`, `cpu_aot_x87_fprem_controls` `8.67s`, `cpu_aot_x87_fprem_lifted` `6.50s`, `cpu_aot_sse_fp_pd_differential` `2.61s`, `cpu_aot_sse_fp_pd_cmp_modes` `5.26s`, `cpu_aot_sse_fp_pd_cmp_differential` `0.69s`, `cpu_aot_x87_scale` `0.29s`, `cpu_aot_xchg` `0.24s`, `cpu_aot_sse_fp_pd` `0.32s`, `cpu_aot_x87_fprem` `0.26s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target cpu_xchg cpu_xchg_lifted cpu_xchg_oneway cpu_xchg_plain cpu_sse_fp_pd_original cpu_sse_fp_pd_original_lifted cpu_sse_fp_pd_altered_lifted cpu_sse_fp_harness cpu_x87_harness cpu_x87_fprem cpu_x87_fprem_d63 cpu_x87_fprem_halfnear cpu_x87_fprem_lifted cpu_x87_fprem_nonan cpu_x87_fprem_nopartial cpu_x87_fprem_qswap cpu_x87_fprem_tieup cpu_x87_fprem_truncate1 cpu_x87_fprem_zerosign cpu_x87_scale cpu_x87_scale_chop cpu_x87_scale_floor cpu_x87_scale_lifted cpu_x87_scale_neginf cpu_x87_scale_pc53 cpu_x87_scale_swap cpu_x87_scale_zeroinf -- -j 2`): `97.70s` (configure `0.00s`) - Test (`ctest --preset release -R '^cpu_aot_(sse_fp_pd|x87_fprem|x87_scale|xchg)(_native|_lifted|_controls|_differential|_modes|_cmp_differential|_cmp_modes)?$' --parallel 2 --no-tests=error --output-on-failure`): **17/17 passed** (`78.90s`: `cpu_aot_sse_fp_pd_differential` `2.46s`, `cpu_aot_sse_fp_pd_cmp_differential` `0.76s`, `cpu_aot_sse_fp_pd_cmp_modes` `5.85s`, `cpu_aot_sse_fp_pd_modes` `17.78s`, `cpu_aot_xchg_native` `9.71s`, `cpu_aot_xchg_lifted` `9.70s`, `cpu_aot_xchg_controls` `17.19s`, `cpu_aot_x87_scale_native` `13.92s`, `cpu_aot_x87_scale_lifted` `13.98s`, `cpu_aot_x87_fprem_lifted` `7.72s`, `cpu_aot_x87_scale_controls` `17.47s`, `cpu_aot_x87_fprem_controls` `9.63s`, `cpu_aot_sse_fp_pd` `0.34s`, `cpu_aot_xchg` `0.28s`, `cpu_aot_x87_scale` `0.31s`, `cpu_aot_x87_fprem_native` `20.81s`, `cpu_aot_x87_fprem` `0.27s`) - `sccache`: -97/-163 hits; wall `196.2s` AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-25 22:02:16 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T21:11:11Z.


Merged current main into this branch (merge commit, no code change from us). Receipt on the new head:

Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit efdbf561bde0b12fe95995b765c31d1e36d46b01:

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target cpu_x87_fldcw_constnearest cpu_x87_fldcw_deferred cpu_x87_fldcw_fistnearest cpu_x87_fldcw_fninitsw cpu_x87_fldcw_fninitword cpu_x87_fldcw_lifted cpu_x87_fldcw_noreturn cpu_x87_fldcw_nounmasked cpu_x87_fldcw_onereturn cpu_x87_fldcw_pc01 cpu_x87_fldcw_pc53 cpu_x87_fldcw_rawword cpu_x87_fldcw_rcnearest cpu_x87_fldcw_swaddr cpu_x87_fldcw_swbyte cpu_x87_fldcw_swnone cpu_x87_fldcw_swtop cpu_x87_fldcw_swwide cpu_x87_fprem cpu_x87_fprem_d63 cpu_x87_fprem_halfnear cpu_x87_fprem_lifted cpu_x87_fprem_nonan cpu_x87_fprem_nopartial cpu_x87_fprem_qswap cpu_x87_fprem_tieup cpu_x87_fprem_truncate1 cpu_x87_fprem_zerosign cpu_x87_scale cpu_x87_scale_chop cpu_x87_scale_floor cpu_x87_scale_lifted cpu_x87_scale_neginf cpu_x87_scale_pc53 cpu_x87_scale_swap cpu_x87_scale_zeroinf cpu_xchg_lifted cpu_xchg_oneway cpu_xchg_plain -- -j 2): 6.77s (configure 0.00s)
    • Test (ctest --preset dev -R '^cpu_aot_(sse_fp_pd|x87_fprem|x87_scale|xchg)(_native|_lifted|_controls|_differential|_modes|_cmp_differential|_cmp_modes)?$' --parallel 6 --no-tests=error --output-on-failure): 17/17 passed (26.68s: cpu_aot_x87_scale_lifted 15.71s, cpu_aot_x87_scale_native 15.76s, cpu_aot_x87_scale_controls 17.46s, cpu_aot_sse_fp_pd_modes 18.13s, cpu_aot_xchg_controls 20.62s, cpu_aot_x87_fprem_native 20.89s, cpu_aot_sse_fp_pd_differential 2.42s, cpu_aot_sse_fp_pd_cmp_differential 0.72s, cpu_aot_x87_scale 0.30s, cpu_aot_x87_fprem_lifted 6.72s, cpu_aot_xchg_native 9.89s, cpu_aot_sse_fp_pd_cmp_modes 5.06s, cpu_aot_xchg_lifted 9.94s, cpu_aot_xchg 0.25s, cpu_aot_sse_fp_pd 0.31s, cpu_aot_x87_fprem_controls 8.86s, cpu_aot_x87_fprem 0.24s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target cpu_x87_fldcw_constnearest cpu_x87_fldcw_deferred cpu_x87_fldcw_fistnearest cpu_x87_fldcw_fninitsw cpu_x87_fldcw_fninitword cpu_x87_fldcw_lifted cpu_x87_fldcw_noreturn cpu_x87_fldcw_nounmasked cpu_x87_fldcw_onereturn cpu_x87_fldcw_pc01 cpu_x87_fldcw_pc53 cpu_x87_fldcw_rawword cpu_x87_fldcw_rcnearest cpu_x87_fldcw_swaddr cpu_x87_fldcw_swbyte cpu_x87_fldcw_swnone cpu_x87_fldcw_swtop cpu_x87_fldcw_swwide cpu_x87_fprem cpu_x87_fprem_d63 cpu_x87_fprem_halfnear cpu_x87_fprem_lifted cpu_x87_fprem_nonan cpu_x87_fprem_nopartial cpu_x87_fprem_qswap cpu_x87_fprem_tieup cpu_x87_fprem_truncate1 cpu_x87_fprem_zerosign cpu_x87_scale cpu_x87_scale_chop cpu_x87_scale_floor cpu_x87_scale_lifted cpu_x87_scale_neginf cpu_x87_scale_pc53 cpu_x87_scale_swap cpu_x87_scale_zeroinf cpu_xchg_lifted cpu_xchg_oneway cpu_xchg_plain -- -j 2): 26.69s (configure 0.00s)
    • Test (ctest --preset release -R '^cpu_aot_(sse_fp_pd|x87_fprem|x87_scale|xchg)(_native|_lifted|_controls|_differential|_modes|_cmp_differential|_cmp_modes)?$' --parallel 6 --no-tests=error --output-on-failure): 17/17 passed (34.45s: cpu_aot_sse_fp_pd_cmp_differential 0.77s, cpu_aot_sse_fp_pd_differential 2.42s, cpu_aot_sse_fp_pd_cmp_modes 5.04s, cpu_aot_xchg_native 10.22s, cpu_aot_xchg_lifted 10.48s, cpu_aot_sse_fp_pd_modes 16.52s, cpu_aot_x87_scale_native 14.53s, cpu_aot_x87_fprem_lifted 6.69s, cpu_aot_sse_fp_pd 0.33s, cpu_aot_xchg_controls 17.00s, cpu_aot_xchg 0.26s, cpu_aot_x87_scale_lifted 14.52s, cpu_aot_x87_fprem_controls 8.29s, cpu_aot_x87_scale_controls 15.59s, cpu_aot_x87_scale 0.25s, cpu_aot_x87_fprem_native 17.59s, cpu_aot_x87_fprem 0.24s)
  • sccache: 74/74 hits; wall 74.1s

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7174727366 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2489#issuecomment-7174727366). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T21:11:11Z. --- Merged current main into this branch (merge commit, no code change from us). Receipt on the new head: Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `efdbf561bde0b12fe95995b765c31d1e36d46b01`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target cpu_x87_fldcw_constnearest cpu_x87_fldcw_deferred cpu_x87_fldcw_fistnearest cpu_x87_fldcw_fninitsw cpu_x87_fldcw_fninitword cpu_x87_fldcw_lifted cpu_x87_fldcw_noreturn cpu_x87_fldcw_nounmasked cpu_x87_fldcw_onereturn cpu_x87_fldcw_pc01 cpu_x87_fldcw_pc53 cpu_x87_fldcw_rawword cpu_x87_fldcw_rcnearest cpu_x87_fldcw_swaddr cpu_x87_fldcw_swbyte cpu_x87_fldcw_swnone cpu_x87_fldcw_swtop cpu_x87_fldcw_swwide cpu_x87_fprem cpu_x87_fprem_d63 cpu_x87_fprem_halfnear cpu_x87_fprem_lifted cpu_x87_fprem_nonan cpu_x87_fprem_nopartial cpu_x87_fprem_qswap cpu_x87_fprem_tieup cpu_x87_fprem_truncate1 cpu_x87_fprem_zerosign cpu_x87_scale cpu_x87_scale_chop cpu_x87_scale_floor cpu_x87_scale_lifted cpu_x87_scale_neginf cpu_x87_scale_pc53 cpu_x87_scale_swap cpu_x87_scale_zeroinf cpu_xchg_lifted cpu_xchg_oneway cpu_xchg_plain -- -j 2`): `6.77s` (configure `0.00s`) - Test (`ctest --preset dev -R '^cpu_aot_(sse_fp_pd|x87_fprem|x87_scale|xchg)(_native|_lifted|_controls|_differential|_modes|_cmp_differential|_cmp_modes)?$' --parallel 6 --no-tests=error --output-on-failure`): **17/17 passed** (`26.68s`: `cpu_aot_x87_scale_lifted` `15.71s`, `cpu_aot_x87_scale_native` `15.76s`, `cpu_aot_x87_scale_controls` `17.46s`, `cpu_aot_sse_fp_pd_modes` `18.13s`, `cpu_aot_xchg_controls` `20.62s`, `cpu_aot_x87_fprem_native` `20.89s`, `cpu_aot_sse_fp_pd_differential` `2.42s`, `cpu_aot_sse_fp_pd_cmp_differential` `0.72s`, `cpu_aot_x87_scale` `0.30s`, `cpu_aot_x87_fprem_lifted` `6.72s`, `cpu_aot_xchg_native` `9.89s`, `cpu_aot_sse_fp_pd_cmp_modes` `5.06s`, `cpu_aot_xchg_lifted` `9.94s`, `cpu_aot_xchg` `0.25s`, `cpu_aot_sse_fp_pd` `0.31s`, `cpu_aot_x87_fprem_controls` `8.86s`, `cpu_aot_x87_fprem` `0.24s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target cpu_x87_fldcw_constnearest cpu_x87_fldcw_deferred cpu_x87_fldcw_fistnearest cpu_x87_fldcw_fninitsw cpu_x87_fldcw_fninitword cpu_x87_fldcw_lifted cpu_x87_fldcw_noreturn cpu_x87_fldcw_nounmasked cpu_x87_fldcw_onereturn cpu_x87_fldcw_pc01 cpu_x87_fldcw_pc53 cpu_x87_fldcw_rawword cpu_x87_fldcw_rcnearest cpu_x87_fldcw_swaddr cpu_x87_fldcw_swbyte cpu_x87_fldcw_swnone cpu_x87_fldcw_swtop cpu_x87_fldcw_swwide cpu_x87_fprem cpu_x87_fprem_d63 cpu_x87_fprem_halfnear cpu_x87_fprem_lifted cpu_x87_fprem_nonan cpu_x87_fprem_nopartial cpu_x87_fprem_qswap cpu_x87_fprem_tieup cpu_x87_fprem_truncate1 cpu_x87_fprem_zerosign cpu_x87_scale cpu_x87_scale_chop cpu_x87_scale_floor cpu_x87_scale_lifted cpu_x87_scale_neginf cpu_x87_scale_pc53 cpu_x87_scale_swap cpu_x87_scale_zeroinf cpu_xchg_lifted cpu_xchg_oneway cpu_xchg_plain -- -j 2`): `26.69s` (configure `0.00s`) - Test (`ctest --preset release -R '^cpu_aot_(sse_fp_pd|x87_fprem|x87_scale|xchg)(_native|_lifted|_controls|_differential|_modes|_cmp_differential|_cmp_modes)?$' --parallel 6 --no-tests=error --output-on-failure`): **17/17 passed** (`34.45s`: `cpu_aot_sse_fp_pd_cmp_differential` `0.77s`, `cpu_aot_sse_fp_pd_differential` `2.42s`, `cpu_aot_sse_fp_pd_cmp_modes` `5.04s`, `cpu_aot_xchg_native` `10.22s`, `cpu_aot_xchg_lifted` `10.48s`, `cpu_aot_sse_fp_pd_modes` `16.52s`, `cpu_aot_x87_scale_native` `14.53s`, `cpu_aot_x87_fprem_lifted` `6.69s`, `cpu_aot_sse_fp_pd` `0.33s`, `cpu_aot_xchg_controls` `17.00s`, `cpu_aot_xchg` `0.26s`, `cpu_aot_x87_scale_lifted` `14.52s`, `cpu_aot_x87_fprem_controls` `8.29s`, `cpu_aot_x87_scale_controls` `15.59s`, `cpu_aot_x87_scale` `0.25s`, `cpu_aot_x87_fprem_native` `17.59s`, `cpu_aot_x87_fprem` `0.24s`) - `sccache`: 74/74 hits; wall `74.1s` AI-assisted; commands listed were executed locally.
chatgpt-codex-connector[bot commented 2026-11-25 22:02:17 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T21:11:26Z.


Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T21:14:30.692905Z efdbf56 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7174733328 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2489#issuecomment-7174733328). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/chatgpt-codex-connector%5Bbot%5D) on 2026-11-25T21:11:26Z. --- <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"efdbf561bde0b12fe95995b765c31d1e36d46b01","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-25T21:14:30.692905Z">2026-11-25T21:14:30.692905Z</relative-time> | `efdbf56` | Draft marked ready | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review" or "@codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
upstream-sync closed this pull request 2026-11-26 01:01:51 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!2481
No description provided.