shader: lower gfx1013 32-bit bit-scan and bit-reverse ops in pixel_aot #535

Closed
alexander-src wants to merge 1 commit from upstream-pr/541 into main
alexander-src commented 2026-11-22 10:10:53 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by alexander-src on 2026-11-22T10:10:53Z.


Change

Lower gfx1013 32-bit vector bit-reverse and bit-scan instructions in tools/pixel_aot.py, covering both VOP1 (_e32) and VOP3 (_e64) encodings (+8 forms in both gfx1013.tsv and rdna2.tsv):

  • v_bfrev_b32 (_e32, _e64) via HLSL reversebits.
  • v_ffbl_b32 (_e32, _e64) via HLSL firstbitlow.
  • v_ffbh_u32 (_e32, _e64) via lazy helper ffbh_u32, converting HLSL's LSB-indexed firstbithigh position to RDNA 2's MSB-indexed count (31u - firstbithigh(value), returning 0xffffffffu on 0).
  • v_ffbh_i32 (_e32, _e64) via lazy helper ffbh_i32, inverting negative inputs before applying 31u - firstbithigh(mask) so all-zero and all-one inputs return 0xffffffffu and 0x80000000 / 0x7fffffff return 1.

All four entries sit in INTEGER with lazy SALU_HELPERS emission, so existing shaders stay byte-identical and v256+, float source modifiers, clamp, SDWA forms, WQM blocks and pending-load or pending-sample hazards are rejected. Added LLVM assemble/disassemble round-trip coverage, batched draw tests (--check-pixel-batch) across five constant sets with six wrong-mode references and a mutated-shader control (v_ffbh_i32_e32 -> v_ffbh_u32_e32), form-coverage assertions in tests/form_coverage_check.py, and documentation in docs/experiments.md.

Verification

Tested on Linux x64 at commit 6ca999c (based on 914d241) with Python 3 (requirements-dev.txt installed) and LLVM 23.1.4 (llvm-mc, llvm-objcopy, /usr/lib/libLLVM.so):

  • python -B tests/pixel_aot_check.py binary llvm-mc llvm-objcopy /usr/lib/libLLVM.so: passed.
  • python -B tests/form_coverage_check.py: passed (verifies all 8 VOP1/VOP3 forms in gfx1013.tsv and rdna2.tsv).
  • python -B tests/pso_readiness_check.py: passed.
  • LLVM_LIB=/usr/lib/libLLVM.so LLVM_MC=llvm-mc LLVM_OBJCOPY=llvm-objcopy python -B tests/rdna2_tools_check.py: passed (33 tests, OK).
  • python -B tests/docs_links_check.py: passed (10 Markdown files, 112 links).
  • python -B tests/bidi_controls_check.py: passed (506 tracked files).
  • Independent Python fuzz of ffbh_u32 and ffbh_i32 against the AMD RDNA 2 ISA bit-scan loops across 100,139 inputs (all power-of-two, mask, sign-boundary and random 32-bit values): 0 mismatches.

Could not run DXC / D3D12 WARP or hardware draws locally on Linux (missing Windows SDK, DXC and D3D12 runtime); Windows CI runs pixel_aot_blend_scalar_warp and pixel_aot_blend_scalar_hardware.

Evidence and follow-up

All fixtures are synthetic gfx1013 assembly programs written directly in tests/pixel_aot_check.py (MIT). Because HLSL SM 6.0 firstbithigh returns an LSB-based bit index (0..31) whereas RDNA 2 v_ffbh_u32 and v_ffbh_i32 count from the MSB (0 at bit 31, 31 at bit 0), the wrong-mode draw controls explicitly assert that LSB-indexed or unsigned-for-signed behavior mismatches. Follow-up work can lower v_bcnt_u32_b32 and scalar s_ff0/s_ff1/s_flbit forms.

Checklist

  • This pull request covers one reviewable behavior.
  • I included the exact command and result for every check I ran.
  • I considered a negative control or failure case for a new fixture.
  • I updated README/docs when a capability or build requirement changed.
  • I did not include game files, dumps, distribution links or secrets.

AI-assisted: yes.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6541133878 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/541). Originally posted by [alexander-src](https://github.com/alexander-src) on 2026-11-22T10:10:53Z. --- ## Change Lower gfx1013 32-bit vector bit-reverse and bit-scan instructions in `tools/pixel_aot.py`, covering both VOP1 (`_e32`) and VOP3 (`_e64`) encodings (+8 forms in both `gfx1013.tsv` and `rdna2.tsv`): - `v_bfrev_b32` (`_e32`, `_e64`) via HLSL `reversebits`. - `v_ffbl_b32` (`_e32`, `_e64`) via HLSL `firstbitlow`. - `v_ffbh_u32` (`_e32`, `_e64`) via lazy helper `ffbh_u32`, converting HLSL's LSB-indexed `firstbithigh` position to RDNA 2's MSB-indexed count (`31u - firstbithigh(value)`, returning `0xffffffffu` on `0`). - `v_ffbh_i32` (`_e32`, `_e64`) via lazy helper `ffbh_i32`, inverting negative inputs before applying `31u - firstbithigh(mask)` so all-zero and all-one inputs return `0xffffffffu` and `0x80000000` / `0x7fffffff` return `1`. All four entries sit in `INTEGER` with lazy `SALU_HELPERS` emission, so existing shaders stay byte-identical and `v256+`, float source modifiers, `clamp`, SDWA forms, WQM blocks and pending-load or pending-sample hazards are rejected. Added LLVM assemble/disassemble round-trip coverage, batched draw tests (`--check-pixel-batch`) across five constant sets with six wrong-mode references and a mutated-shader control (`v_ffbh_i32_e32` -> `v_ffbh_u32_e32`), form-coverage assertions in `tests/form_coverage_check.py`, and documentation in `docs/experiments.md`. ## Verification Tested on Linux x64 at commit `6ca999c` (based on `914d241`) with Python 3 (`requirements-dev.txt` installed) and LLVM 23.1.4 (`llvm-mc`, `llvm-objcopy`, `/usr/lib/libLLVM.so`): - `python -B tests/pixel_aot_check.py binary llvm-mc llvm-objcopy /usr/lib/libLLVM.so`: passed. - `python -B tests/form_coverage_check.py`: passed (verifies all 8 `VOP1`/`VOP3` forms in `gfx1013.tsv` and `rdna2.tsv`). - `python -B tests/pso_readiness_check.py`: passed. - `LLVM_LIB=/usr/lib/libLLVM.so LLVM_MC=llvm-mc LLVM_OBJCOPY=llvm-objcopy python -B tests/rdna2_tools_check.py`: passed (33 tests, OK). - `python -B tests/docs_links_check.py`: passed (10 Markdown files, 112 links). - `python -B tests/bidi_controls_check.py`: passed (506 tracked files). - Independent Python fuzz of `ffbh_u32` and `ffbh_i32` against the AMD RDNA 2 ISA bit-scan loops across 100,139 inputs (all power-of-two, mask, sign-boundary and random 32-bit values): 0 mismatches. Could not run DXC / D3D12 WARP or hardware draws locally on Linux (missing Windows SDK, DXC and D3D12 runtime); Windows CI runs `pixel_aot_blend_scalar_warp` and `pixel_aot_blend_scalar_hardware`. ## Evidence and follow-up All fixtures are synthetic gfx1013 assembly programs written directly in `tests/pixel_aot_check.py` (MIT). Because HLSL SM 6.0 `firstbithigh` returns an LSB-based bit index (`0..31`) whereas RDNA 2 `v_ffbh_u32` and `v_ffbh_i32` count from the MSB (`0` at bit 31, `31` at bit 0), the wrong-mode draw controls explicitly assert that LSB-indexed or unsigned-for-signed behavior mismatches. Follow-up work can lower `v_bcnt_u32_b32` and scalar `s_ff0`/`s_ff1`/`s_flbit` forms. ## Checklist - [x] This pull request covers one reviewable behavior. - [x] I included the exact command and result for every check I ran. - [x] I considered a negative control or failure case for a new fixture. - [x] I updated README/docs when a capability or build requirement changed. - [x] I did not include game files, dumps, distribution links or secrets. AI-assisted: yes.
upstream-sync closed this pull request 2026-11-24 06:43:35 +00:00
MarlomMedeiros commented 2026-11-24 06:43:36 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by MarlomMedeiros on 2026-11-22T17:54:04Z.

Review: COMMENTED


Community review + independent run, since the PR notes DXC/D3D12/WARP could not run on the authoring Linux host.

Environment

  • Commit under test: 317aa0a on base c8a3fd9
  • Windows 11 build 26300.10075, VS 2026 MSVC 19.52, Ninja, DXC from SDK 10.0.26100
  • ctest --preset dev --no-tests=error -R '^pixel_aot_blend_scalar_(warp|hardware)$' -V: both passed
  • Hardware: NVIDIA GeForce RTX 5070 (vendor=10de device=2f04), driver 32.0.16.2135, D3D12 debug layer enabled, debug_errors=0 debug_warnings=0, all draws pixels=4096 max_absolute_error=0
  • WARP: Microsoft Basic Render Driver, driver 10.0.26100.10068
  • tests/pixel_aot_check.py controls, tests/form_coverage_check.py and the LLVM 15.0.7 binary round-trip all pass on this commit

Review notes

  • v_bfrev_b32 -> reversebits, v_ffbl_b32 -> firstbitlow map directly onto HLSL intrinsics; firstbitlow returning -1 as uint is bit-identical to the ISA's 0xffffffff-on-zero.
  • ffbh_u32 = 31 - firstbithigh gives the MSB-side bit position, with the zero case returning 0xffffffff. ffbh_i32 complements on sign before scanning, so all-sign patterns (0, 0xffffffff) correctly return -1 and the position counts from the MSB as the ISA defines. Both helpers are only emitted when used, verified by the leakage assert.
  • Reject coverage is solid: e64 modifiers on ops that reject them, SDWA, operand-count and register-range errors, 64-bit literal, plus mid-program/pending-load placements.
  • The draw rides the existing pixel_aot_blend_scalar_* fixtures; the six reference modes (lsb positions, unsigned-vs-signed ffbh, zero input, ffbl-as-ffbh distinction, bfrev self-inverse) pin the exact semantics that matter.
  • Heads-up: base c8a3fd9 is a few commits behind current main (8f57366), so a rebase may be requested; the touched areas look quiet enough that conflicts should be small.

No blockers found.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6013606347 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/541#pullrequestreview-6013606347). Originally posted by [MarlomMedeiros](https://github.com/MarlomMedeiros) on 2026-11-22T17:54:04Z. **Review:** COMMENTED --- Community review + independent run, since the PR notes DXC/D3D12/WARP could not run on the authoring Linux host. ## Environment - Commit under test: `317aa0a` on base `c8a3fd9` - Windows 11 build 26300.10075, VS 2026 MSVC 19.52, Ninja, DXC from SDK 10.0.26100 - `ctest --preset dev --no-tests=error -R '^pixel_aot_blend_scalar_(warp|hardware)$' -V`: **both passed** - Hardware: NVIDIA GeForce RTX 5070 (vendor=10de device=2f04), driver 32.0.16.2135, D3D12 debug layer enabled, `debug_errors=0 debug_warnings=0`, all draws `pixels=4096 max_absolute_error=0` - WARP: Microsoft Basic Render Driver, driver 10.0.26100.10068 - `tests/pixel_aot_check.py` controls, `tests/form_coverage_check.py` and the LLVM 15.0.7 binary round-trip all pass on this commit ## Review notes - `v_bfrev_b32` -> `reversebits`, `v_ffbl_b32` -> `firstbitlow` map directly onto HLSL intrinsics; `firstbitlow` returning -1 as uint is bit-identical to the ISA's 0xffffffff-on-zero. - `ffbh_u32` = `31 - firstbithigh` gives the MSB-side bit position, with the zero case returning 0xffffffff. `ffbh_i32` complements on sign before scanning, so all-sign patterns (0, 0xffffffff) correctly return -1 and the position counts from the MSB as the ISA defines. Both helpers are only emitted when used, verified by the leakage assert. - Reject coverage is solid: e64 modifiers on ops that reject them, SDWA, operand-count and register-range errors, 64-bit literal, plus mid-program/pending-load placements. - The draw rides the existing `pixel_aot_blend_scalar_*` fixtures; the six reference modes (lsb positions, unsigned-vs-signed ffbh, zero input, ffbl-as-ffbh distinction, bfrev self-inverse) pin the exact semantics that matter. - Heads-up: base `c8a3fd9` is a few commits behind current `main` (`8f57366`), so a rebase may be requested; the touched areas look quiet enough that conflicts should be small. No blockers found.
roansystemlabs commented 2026-11-24 06:48:32 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by roansystemlabs on 2026-11-22T13:22:21Z.


Windows hardware run for this PR, since the description notes the DXC / D3D12 draws could not run on Linux.

Commit: 6d03c5c (PR head), built with the dev preset (MSVC 19.44, Windows SDK 10.0.26100 DXC).

ctest --preset dev --no-tests=error -R '^pixel_aot_blend_scalar_|^rdna2_tools_check$' -V
Test RTX 3070 WARP
pixel_aot_blend_scalar_hardware / _warp Pass (36.0 s) Pass (6.7 s)
rdna2_tools_check Pass —

All 44 renderer launches per adapter report debug_layer=enabled, debug_errors=0 debug_warnings=0 and max_absolute_error=0. python -B tests/form_coverage_check.py and tests/docs_links_check.py also pass on Windows.

Negative controls (local edits to tools/pixel_aot.py, reverted afterwards; the bit-scan batch fails on both adapters each time):

Mutation Result
ffbh_u32 helper returns firstbithigh(value) (no 31u -) all five exact constant sets report status=mismatch, and the ffbh_u32_lsb wrong-mode reference now passes
ffbh_i32 helper drops the sign inversion (mask = value) sets 0, 1, 2 and 4 mismatch (set 3 still passes), and the ffbh_i32_unsigned wrong-mode reference now passes

So the 31u - firstbithigh conversion and the signed inversion are load-bearing on NVIDIA hardware as well as on WARP, and each mutation lands exactly on the wrong-mode reference written for it. Unmodified, the RTX 3070 output matches the RDNA 2 references for all five sets, including the zero → 0xffffffff cases.

Environment: Windows 11 build 26200.9974, NVIDIA GeForce RTX 3070 (10de:2484), driver 32.0.16.2101, D3D12 debug layer on (Graphics Tools); WARP 10.0.26100.9818.

Not tested: AMD or Intel hardware, the LLVM binary round-trip (pixel_aot_check.py binary, no LLVM on this machine), the /O2 release preset, and the full suite.

AI-assisted: prepared with an AI coding agent and reviewed by a human before posting.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7079761460 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/541#issuecomment-7079761460). Originally posted by [roansystemlabs](https://github.com/roansystemlabs) on 2026-11-22T13:22:21Z. --- Windows hardware run for this PR, since the description notes the DXC / D3D12 draws could not run on Linux. **Commit:** `6d03c5c` (PR head), built with the `dev` preset (MSVC 19.44, Windows SDK 10.0.26100 DXC). ```powershell ctest --preset dev --no-tests=error -R '^pixel_aot_blend_scalar_|^rdna2_tools_check$' -V ``` | Test | RTX 3070 | WARP | |---|---|---| | `pixel_aot_blend_scalar_hardware` / `_warp` | Pass (36.0 s) | Pass (6.7 s) | | `rdna2_tools_check` | Pass | — | All 44 renderer launches per adapter report `debug_layer=enabled`, `debug_errors=0 debug_warnings=0` and `max_absolute_error=0`. `python -B tests/form_coverage_check.py` and `tests/docs_links_check.py` also pass on Windows. **Negative controls** (local edits to `tools/pixel_aot.py`, reverted afterwards; the bit-scan batch fails on both adapters each time): | Mutation | Result | |---|---| | `ffbh_u32` helper returns `firstbithigh(value)` (no `31u -`) | all five exact constant sets report `status=mismatch`, and the `ffbh_u32_lsb` wrong-mode reference now passes | | `ffbh_i32` helper drops the sign inversion (`mask = value`) | sets 0, 1, 2 and 4 mismatch (set 3 still passes), and the `ffbh_i32_unsigned` wrong-mode reference now passes | So the `31u - firstbithigh` conversion and the signed inversion are load-bearing on NVIDIA hardware as well as on WARP, and each mutation lands exactly on the wrong-mode reference written for it. Unmodified, the RTX 3070 output matches the RDNA 2 references for all five sets, including the zero → `0xffffffff` cases. **Environment:** Windows 11 build 26200.9974, NVIDIA GeForce RTX 3070 (10de:2484), driver 32.0.16.2101, D3D12 debug layer on (Graphics Tools); WARP 10.0.26100.9818. **Not tested:** AMD or Intel hardware, the LLVM binary round-trip (`pixel_aot_check.py binary`, no LLVM on this machine), the `/O2` release preset, and the full suite. AI-assisted: prepared with an AI coding agent and reviewed by a human before posting.
alexander-src commented 2026-11-24 06:48:34 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by alexander-src on 2026-11-22T15:10:18Z.


Thanks @roansystemlabs for running the RTX 3070 and WARP verification along with the helper mutation checks. Rebased onto main (c8a3fd9 -> 317aa0a) after #542 merged to clear the pixel_aot.py / pixel_aot_check.py / form_coverage_check.py conflicts, and re-verified all six Linux + LLVM checks locally.

AI-assisted: yes

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7081097814 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/541#issuecomment-7081097814). Originally posted by [alexander-src](https://github.com/alexander-src) on 2026-11-22T15:10:18Z. --- Thanks @roansystemlabs for running the RTX 3070 and WARP verification along with the helper mutation checks. Rebased onto `main` (`c8a3fd9` -> `317aa0a`) after #542 merged to clear the `pixel_aot.py` / `pixel_aot_check.py` / `form_coverage_check.py` conflicts, and re-verified all six Linux + LLVM checks locally. AI-assisted: yes
MarlomMedeiros commented 2026-11-24 06:48:37 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by MarlomMedeiros on 2026-11-22T17:56:40Z.


AI-assisted: yes. All reported checks ran locally on the adapter and driver listed.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7083222709 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/541#issuecomment-7083222709). Originally posted by [MarlomMedeiros](https://github.com/MarlomMedeiros) on 2026-11-22T17:56:40Z. --- AI-assisted: yes. All reported checks ran locally on the adapter and driver listed.
alexander-src commented 2026-11-24 06:48:39 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by alexander-src on 2026-11-22T18:31:16Z.


Thanks @MarlomMedeiros for running the RTX 5070 and WARP checks and flagging the drift against main. Rebased onto 719552e (317aa0a -> 45185c0) to clear the conflicts in tests/form_coverage_check.py and tests/pixel_aot_check.py, and re-ran pixel_aot_check.py binary, form_coverage_check.py, pso_readiness_check.py, rdna2_tools_check.py (49 passed, 1 skipped), docs_links_check.py, and bidi_controls_check.py locally.

AI-assisted: yes

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7083664575 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/541#issuecomment-7083664575). Originally posted by [alexander-src](https://github.com/alexander-src) on 2026-11-22T18:31:16Z. --- Thanks @MarlomMedeiros for running the RTX 5070 and WARP checks and flagging the drift against main. Rebased onto 719552e (317aa0a -> 45185c0) to clear the conflicts in tests/form_coverage_check.py and tests/pixel_aot_check.py, and re-ran pixel_aot_check.py binary, form_coverage_check.py, pso_readiness_check.py, rdna2_tools_check.py (49 passed, 1 skipped), docs_links_check.py, and bidi_controls_check.py locally. AI-assisted: yes
rwZephyr commented 2026-11-24 06:48:41 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by rwZephyr on 2026-11-22T18:56:42Z.


Independent Windows 10 retest of the rebased head 45185c0cd8c165682ecd791b9e12e027aa32f5e2. Windows 10 22H2 build 19045.6466, MSVC 19.44.35230, Windows SDK 10.0.26100.0, DXC 1.8.2502.11. The Debug build used /MTd. D3D12 debug layer unavailable on both backends.

cmake --preset dev "-DINTAKE_PYTHON=$((Get-Command python).Source)" "-DDXC_EXECUTABLE=$dxc" -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebug
cmake --build --preset dev --parallel 4 --target offscreen_check
$env:XBOX2WINDOWS_ADAPTER = 'RTX 3060 Ti'
ctest --preset dev --no-tests=error -V -R '^pixel_aot_blend_scalar_(hardware|warp)$'
  • Hardware: RTX 3060 Ti (10de:2414), driver 621.24 (32.0.16.2124 via DXGI). Passed.
  • Software: In-box WARP, Microsoft Basic Render Driver (1414:008c), driver 10.0.19041.5794. Passed.
  • Skipped: Zero.

I also called check_bit_scan_draws directly on both backends. All five input sets and the repeated first set matched all 4,096 pixels per draw with zero absolute error. The first reference RGBA value was (235, 85, 119, 17). All six wrong-reference cases and the signed-to-unsigned shader mutation produced the expected pixel_mismatch at (0, 0) on both backends.

The base translator at 719552e rejected the same program at v_bfrev_b32_e32, before rendering.

AI-assisted. All reported tests ran locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7083987486 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/541#issuecomment-7083987486). Originally posted by [rwZephyr](https://github.com/rwZephyr) on 2026-11-22T18:56:42Z. --- Independent Windows 10 retest of the rebased head `45185c0cd8c165682ecd791b9e12e027aa32f5e2`. Windows 10 22H2 build `19045.6466`, MSVC `19.44.35230`, Windows SDK `10.0.26100.0`, DXC `1.8.2502.11`. The Debug build used `/MTd`. D3D12 debug layer unavailable on both backends. ```powershell cmake --preset dev "-DINTAKE_PYTHON=$((Get-Command python).Source)" "-DDXC_EXECUTABLE=$dxc" -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebug cmake --build --preset dev --parallel 4 --target offscreen_check $env:XBOX2WINDOWS_ADAPTER = 'RTX 3060 Ti' ctest --preset dev --no-tests=error -V -R '^pixel_aot_blend_scalar_(hardware|warp)$' ``` - **Hardware:** RTX 3060 Ti (`10de:2414`), driver `621.24` (`32.0.16.2124` via DXGI). Passed. - **Software:** In-box WARP, Microsoft Basic Render Driver (`1414:008c`), driver `10.0.19041.5794`. Passed. - **Skipped:** Zero. I also called `check_bit_scan_draws` directly on both backends. All five input sets and the repeated first set matched all 4,096 pixels per draw with zero absolute error. The first reference RGBA value was `(235, 85, 119, 17)`. All six wrong-reference cases and the signed-to-unsigned shader mutation produced the expected `pixel_mismatch` at `(0, 0)` on both backends. The base translator at `719552e` rejected the same program at `v_bfrev_b32_e32`, before rendering. AI-assisted. All reported tests ran locally.
R0Y00 commented 2026-11-24 06:48:58 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T03:22:23Z.


Thanks for the bit-scan reference and the independent Windows retest. Main now has all four forms in both encodings through #755, with separate integer-readback CTests, LLVM 15 assembly and independent expected words. #735 was closed after that scope and the #728 v_xnor_b32 form were confirmed. The work here covers the same implementation, so I’m closing the overlapping PR.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7090689717 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/541#issuecomment-7090689717). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-23T03:22:23Z. --- Thanks for the bit-scan reference and the independent Windows retest. Main now has all four forms in both encodings through #755, with separate integer-readback CTests, LLVM 15 assembly and independent expected words. #735 was closed after that scope and the #728 `v_xnor_b32` form were confirmed. The work here covers the same implementation, so I’m closing the overlapping PR.

Pull request closed

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!535
No description provided.