revert: run the lowering execution checks on Windows (#17548) #19221

Merged
oneandonlydean merged 1 commit from upstream-pr/19221 into main 2026-11-13 00:37:26 +00:00
oneandonlydean commented 2026-11-13 00:20:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-11-13T00:20:18Z.


What

Exact inverse revert of #17548 (merge a63ffb8827). It turns LOWERING_EXECUTION_AVAILABLE on for Windows in LoweringExecution.hpp, and that guard also covers POSIX-only test code merged earlier: the mmap/mprotect/munmap calls in Avx2TwinLoweringTests.cpp (#17108) and VectorExecution.hpp (#17132), and the mmap guard page in WidenBroadcastLoweringTests.cpp. MinGW does not declare those, so the Windows build of main fails ("was not declared in this scope").

Those runners also assume the System V ABI: they load all sixteen YMM registers (xmm6 to xmm15 are callee-saved on Windows x64) and use the area below the stack pointer as scratch (Windows has no red zone). So running them on Windows needs a wider change than the allocation calls; the Windows enablement can come back together with that.

Tested

The Windows build of main with this revert must succeed; result follows in a comment.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5287618420 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19221). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-11-13T00:20:18Z. --- ### What Exact inverse revert of #17548 (merge a63ffb8827). It turns `LOWERING_EXECUTION_AVAILABLE` on for Windows in `LoweringExecution.hpp`, and that guard also covers POSIX-only test code merged earlier: the `mmap`/`mprotect`/`munmap` calls in `Avx2TwinLoweringTests.cpp` (#17108) and `VectorExecution.hpp` (#17132), and the `mmap` guard page in `WidenBroadcastLoweringTests.cpp`. MinGW does not declare those, so the Windows build of main fails ("was not declared in this scope"). Those runners also assume the System V ABI: they load all sixteen YMM registers (xmm6 to xmm15 are callee-saved on Windows x64) and use the area below the stack pointer as scratch (Windows has no red zone). So running them on Windows needs a wider change than the allocation calls; the Windows enablement can come back together with that. ### Tested The Windows build of main with this revert must succeed; result follows in a comment. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
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
boykopovar/AnyPS5!19221
No description provided.