pixel_aot: read v_fma_mix op_sel_hi as the binary16 flag and op_sel as the half #2096

Closed
RenzoWit35 wants to merge 1 commit from upstream-pr/2103 into main
RenzoWit35 commented 2026-11-25 00:22:12 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by RenzoWit35 on 2026-11-25T00:22:12Z.


Change

tools/pixel_aot.py read the two v_fma_mix* select fields the wrong way round. It treated op_sel as "this source is binary16" and op_sel_hi as "use the high half". LLVM 15 uses the opposite assignment (AMDGPUDAGToDAGISel::SelectVOP3PMadMixModsImpl and AMDGPUInstPrinter::printOpSelHi). tools/ffx_dispatch_aot.py, tools/startup/gfx2hlsl.py and the op_sel/op_sel_hi bit positions in tools/disasm_rdna2.py already follow LLVM. The draw fixture's reference encoded the same swapped reading, so the fixture passed.

Refs #2054

  • Lowering: each source is lowered with is_f16 = op_sel_hi and is_hi = op_sel. parse_fma_mix still returns the printed fields unchanged; the swap happens where they are consumed. op_sel on a binary32 source (no op_sel_hi) is now refused with op_sel selects a half only for a binary16 (op_sel_hi) source, rather than given a meaning. Before this change the opposite case was refused.

  • Fixture: the two FMA_MIX_BODY lines that used the old reading are respelled in LLVM's assignment:

    • op_sel:[1,1,0] op_sel_hi:[1,0,0] becomes op_sel:[1,0,0] op_sel_hi:[1,1,0];
    • op_sel:[1,1,0] becomes op_sel_hi:[1,1,0].

    The generated HLSL is byte-identical to main (compared with cmp), so fma_mix_reference and the expected pixels are unchanged. The other three lines set both fields alike, so they read the same either way.

  • New controls:

    • a sixth draw mutation, op_sel_hi binary16 source, which drops src1's op_sel_hi so the packed word is read as binary32;
    • a device-free check_fma_mix_operand_selection, run from check_controls. For every source position of v_fma_mix_f32 and v_fma_mixlo_f16 it checks three things:
      • op_sel_hi alone gives widen16(word);
      • op_sel with op_sel_hi gives widen16(word >> 16);
      • op_sel alone is refused with the message above.
  • tests/rdna2_tools_check.py: its fma_mix cases used the old reading in several places, and it is in the pure-Python list, so it is updated with the fix:

    • the old issue encoding 0c1920cc2c26524c still decodes the same, and is now a refusal check;
    • a corrected encoding 0c0920cc2c26525c lowers to the same operands as before;
    • the modifier-matrix case and the end-to-end shader use valid selections;
    • the old op_sel_hi-only negative control is replaced by two op_sel-without-op_sel_hi controls.
  • docs/experiments.md: the fma_mix paragraph states the corrected assignment and the new controls.

Verification

Branch commit eed1450e, based on main at 65c11640. Windows 11 build 26300.9974, DXC from Windows SDK 10.0.26100.0, debug layer as configured by the dev preset.

.\out\pe-env\Scripts\python.exe -B tests/pixel_aot_check.py              # all device-free controls: exit 0
.\out\pe-env\Scripts\python.exe -B tests/rdna2_tools_check.py            # Ran 154 tests, OK (skipped=19)
.\out\pe-env\Scripts\python.exe -B tests/pso_readiness_check.py          # exit 0
.\out\pe-env\Scripts\python.exe -B tests/docs_links_check.py             # 18 Markdown files, 394 links
ctest --test-dir out/build/dev --no-tests=error -R '^(pixel_aot_core_vector_(warp|hardware)|rdna2_tools_check)$'
# 3/3 passed; pixel_aot_core_vector_hardware ran on adapter=NVIDIA GeForce RTX 4070 Ti vendor=10de device=2782 (driver 32.0.16.2101)

pixel_aot_core_vector_* runs check_fma_mix_draw, including all six mutations, each of which reported a mismatch.

Fail-first runs, with the new tests in place:

Mutation Result
tools/pixel_aot.py from main (the old reading) pixel_aot_check.py controls exit 1 (ValueError: High-half selection requires an f16 operand); rdna2_tools_check FAIL test_vop3p_fma_mix_inline_abs_neg_modifiers; the fixture is refused
new refusal kept, zip order swapped back check_fma_mix_operand_selection fails at ('_f32', 0, 'alu20, alu21, alu22);')

Not run:

  • pixel_aot_check.py binary: LLVM 15 (llvm-mc, llvm-objcopy, libLLVM) is not installed on this host. The Ubuntu job assembles the respelled fixture lines with LLVM 15.
  • The AMD Radeon integrated adapter on this host was not selected by the hardware test.

Evidence and follow-up

  • What this rests on: this change relies on LLVM 15's source and on the agreement of the in-tree decoder, ffx_dispatch_aot and gfx2hlsl. It does not include the native hardware readback that #2054's first "done when" item asks for: one op_sel-only and one op_sel_hi-only form on RDNA. D3D12 cannot run native gfx10 code, so that needs a native path such as HIP. Hence Refs, not Fixes.
  • Refusing op_sel on a binary32 source: this is a conservative choice. LLVM never selects that form, and no reference here defines what hardware does with it.
  • Fixtures: no new fixture sources. All inputs are synthetic instruction text or encodings built in the tests.

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 (Claude Code).

🤖 Generated with Claude Code

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6594219725 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2103). Originally posted by [RenzoWit35](https://github.com/RenzoWit35) on 2026-11-25T00:22:12Z. --- ## Change `tools/pixel_aot.py` read the two `v_fma_mix*` select fields the wrong way round. It treated `op_sel` as "this source is binary16" and `op_sel_hi` as "use the high half". LLVM 15 uses the opposite assignment (`AMDGPUDAGToDAGISel::SelectVOP3PMadMixModsImpl` and `AMDGPUInstPrinter::printOpSelHi`). `tools/ffx_dispatch_aot.py`, `tools/startup/gfx2hlsl.py` and the `op_sel`/`op_sel_hi` bit positions in `tools/disasm_rdna2.py` already follow LLVM. The draw fixture's reference encoded the same swapped reading, so the fixture passed. Refs #2054 - **Lowering:** each source is lowered with `is_f16 = op_sel_hi` and `is_hi = op_sel`. `parse_fma_mix` still returns the printed fields unchanged; the swap happens where they are consumed. `op_sel` on a binary32 source (no `op_sel_hi`) is now refused with `op_sel selects a half only for a binary16 (op_sel_hi) source`, rather than given a meaning. Before this change the opposite case was refused. - **Fixture:** the two `FMA_MIX_BODY` lines that used the old reading are respelled in LLVM's assignment: - `op_sel:[1,1,0] op_sel_hi:[1,0,0]` becomes `op_sel:[1,0,0] op_sel_hi:[1,1,0]`; - `op_sel:[1,1,0]` becomes `op_sel_hi:[1,1,0]`. The generated HLSL is byte-identical to `main` (compared with `cmp`), so `fma_mix_reference` and the expected pixels are unchanged. The other three lines set both fields alike, so they read the same either way. - **New controls:** - a sixth draw mutation, `op_sel_hi binary16 source`, which drops src1's `op_sel_hi` so the packed word is read as binary32; - a device-free `check_fma_mix_operand_selection`, run from `check_controls`. For every source position of `v_fma_mix_f32` and `v_fma_mixlo_f16` it checks three things: - `op_sel_hi` alone gives `widen16(word)`; - `op_sel` with `op_sel_hi` gives `widen16(word >> 16)`; - `op_sel` alone is refused with the message above. - **`tests/rdna2_tools_check.py`:** its fma_mix cases used the old reading in several places, and it is in the pure-Python list, so it is updated with the fix: - the old issue encoding `0c1920cc2c26524c` still decodes the same, and is now a refusal check; - a corrected encoding `0c0920cc2c26525c` lowers to the same operands as before; - the modifier-matrix case and the end-to-end shader use valid selections; - the old `op_sel_hi`-only negative control is replaced by two `op_sel`-without-`op_sel_hi` controls. - **`docs/experiments.md`:** the fma_mix paragraph states the corrected assignment and the new controls. ## Verification Branch commit `eed1450e`, based on `main` at `65c11640`. Windows 11 build 26300.9974, DXC from Windows SDK 10.0.26100.0, debug layer as configured by the `dev` preset. ```powershell .\out\pe-env\Scripts\python.exe -B tests/pixel_aot_check.py # all device-free controls: exit 0 .\out\pe-env\Scripts\python.exe -B tests/rdna2_tools_check.py # Ran 154 tests, OK (skipped=19) .\out\pe-env\Scripts\python.exe -B tests/pso_readiness_check.py # exit 0 .\out\pe-env\Scripts\python.exe -B tests/docs_links_check.py # 18 Markdown files, 394 links ctest --test-dir out/build/dev --no-tests=error -R '^(pixel_aot_core_vector_(warp|hardware)|rdna2_tools_check)$' # 3/3 passed; pixel_aot_core_vector_hardware ran on adapter=NVIDIA GeForce RTX 4070 Ti vendor=10de device=2782 (driver 32.0.16.2101) ``` `pixel_aot_core_vector_*` runs `check_fma_mix_draw`, including all six mutations, each of which reported a mismatch. **Fail-first runs, with the new tests in place:** | Mutation | Result | |---|---| | `tools/pixel_aot.py` from `main` (the old reading) | `pixel_aot_check.py` controls exit 1 (`ValueError: High-half selection requires an f16 operand`); `rdna2_tools_check` FAIL `test_vop3p_fma_mix_inline_abs_neg_modifiers`; the fixture is refused | | new refusal kept, `zip` order swapped back | `check_fma_mix_operand_selection` fails at `('_f32', 0, 'alu20, alu21, alu22);')` | **Not run:** - `pixel_aot_check.py binary`: LLVM 15 (`llvm-mc`, `llvm-objcopy`, `libLLVM`) is not installed on this host. The Ubuntu job assembles the respelled fixture lines with LLVM 15. - The AMD Radeon integrated adapter on this host was not selected by the `hardware` test. ## Evidence and follow-up - **What this rests on:** this change relies on LLVM 15's source and on the agreement of the in-tree decoder, `ffx_dispatch_aot` and `gfx2hlsl`. It does **not** include the native hardware readback that #2054's first "done when" item asks for: one `op_sel`-only and one `op_sel_hi`-only form on RDNA. D3D12 cannot run native gfx10 code, so that needs a native path such as HIP. Hence `Refs`, not `Fixes`. - **Refusing `op_sel` on a binary32 source:** this is a conservative choice. LLVM never selects that form, and no reference here defines what hardware does with it. - **Fixtures:** no new fixture sources. All inputs are synthetic instruction text or encodings built in the tests. ## 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 (Claude Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
tedin7 commented 2026-11-25 01:01:42 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Review of head eed1450e1b (comment only, no merge).

Result: SKIPPED. The PR is CONFLICTING and its change is already on main.

Findings:

  • git merge-tree --write-tree --name-only origin/main HEAD reports content conflicts in docs/experiments.md, tests/pixel_aot_check.py, tests/rdna2_tools_check.py and tools/pixel_aot.py.
  • origin/main already contains c1e83dd6 ("pixel_aot: read v_fma_mix op_sel_hi as the binary16 flag and op_sel as the high half"). lower() there already zips op_sel_hi as the binary16 flag and op_sel as the half. This PR's logic change duplicates it.
  • Main has since moved on (dc9ba9ed, mixed-precision source refusal rules), so a rebase would need a fresh look at the remaining delta. The device-free per-source control and the extra op_sel mutation may still be worth a small rebased PR.
  • P1: 0. P2: 0. Clean-room: no issue seen in the diff.
  • No CI checks are reported on the branch. Windows 2025 Debug/Release were not run, since the head cannot merge.

Commands executed locally:

  • git fetch of the PR head, then worktree HEAD check (matches eed1450e)
  • git merge-tree --write-tree --name-only origin/main HEAD (conflicts)
  • git diff --stat and a targeted diff read of tools/pixel_aot.py and docs/experiments.md
  • git diff --check origin/main...HEAD (clean)
  • gh pr checks 2103 (no checks)
  • rg -n -C3 'zip\(tokens, op_sel' on origin/main:tools/pixel_aot.py

Mutations: not run, because the code path is already on main and the PR cannot be merged as is.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6049656927 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2103#pullrequestreview-6049656927). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T00:27:36Z. **Review:** COMMENTED --- Review of head eed1450e1ba8f041f9c6e9569eef42ab2881a255 (comment only, no merge). Result: SKIPPED. The PR is CONFLICTING and its change is already on main. Findings: - `git merge-tree --write-tree --name-only origin/main HEAD` reports content conflicts in `docs/experiments.md`, `tests/pixel_aot_check.py`, `tests/rdna2_tools_check.py` and `tools/pixel_aot.py`. - `origin/main` already contains c1e83dd6 ("pixel_aot: read v_fma_mix op_sel_hi as the binary16 flag and op_sel as the high half"). `lower()` there already zips `op_sel_hi` as the binary16 flag and `op_sel` as the half. This PR's logic change duplicates it. - Main has since moved on (dc9ba9ed, mixed-precision source refusal rules), so a rebase would need a fresh look at the remaining delta. The device-free per-source control and the extra `op_sel` mutation may still be worth a small rebased PR. - P1: 0. P2: 0. Clean-room: no issue seen in the diff. - No CI checks are reported on the branch. Windows 2025 Debug/Release were not run, since the head cannot merge. Commands executed locally: - `git fetch` of the PR head, then worktree HEAD check (matches eed1450e) - `git merge-tree --write-tree --name-only origin/main HEAD` (conflicts) - `git diff --stat` and a targeted diff read of `tools/pixel_aot.py` and `docs/experiments.md` - `git diff --check origin/main...HEAD` (clean) - `gh pr checks 2103` (no checks) - `rg -n -C3 'zip\(tokens, op_sel'` on `origin/main:tools/pixel_aot.py` Mutations: not run, because the code path is already on main and the PR cannot be merged as is. AI-assisted; commands listed were executed locally.
ChazY11 commented 2026-11-25 01:02:06 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T00:32:22Z.


#2100 already landed this swap — what is left here is the docstring and two test edits, and a rebase has to be careful not to undo #2100

main at 72e26e7f already carries the field swap from #2100:

tools/pixel_aot.py on main:
  contains 'op_sel_hi enables f16'        True
  contains 'zip(tokens, op_sel_hi, op_sel)'  True

Same two changes this PR makes. So the review effort here should go to what is not in main yet, which is still worth having:

  • the parse_fma_mix docstring, which states the LLVM 15 provenance (SelectVOP3PMadMixModsImpl, printOpSelHi) and, better than #2100's one-liner, says why op_sel on a binary32 source is refused rather than given a meaning;
  • the error message "op_sel selects a half only for a binary16 (op_sel_hi) source", which names the field that was wrong instead of restating the invariant;
  • the tests/pixel_aot_check.py and tests/rdna2_tools_check.py updates and the docs/experiments.md line.

The rebase hazard, measured

git merge-tree --write-tree origin/main pr-2103 conflicts in docs/experiments.md, and tools/pixel_aot.py would apply — but note what the naive
application does. Diffing against today's main:

-    if re.fullmatch(r"-\d+", token) and -16 <= int(token) <= -1:
-        raise ValueError(f"Ambiguous mixed-precision inline constant {token}")
-    if token == "-0":
-        expr = "asfloat(0x80000000u)"
-    elif is_f16:
+    if is_f16:

Those three lines are #2100's, added after this branch was cut. Merged as-is this PR removes them: a negative inline constant would go back to being
ambiguous without the refusal, and -0 would lose its sign. The merge is textually clean at that site, which is exactly the dangerous case — nothing
flags it.

So when you rebase, the resolution is "keep both": the -16..-1 refusal and the -0 branch from #2100, plus your docstring and message. If you would
rather not carry the duplicate half, the smaller PR is: docstring + message + the two test files, on top of today's main.

What I would keep regardless of who lands it

The docstring is the part that will still matter in a year. It is the only place in the tree that records why the assignment is what it is, with the
LLVM symbol names, and it is the thing I would have wanted when I was reading this code cold earlier today — I had to reconstruct the same conclusion
from gfx2hlsl.mix() refusing op_sel outright.

One addition worth making while you are there: the assignment is still not settled by hardware. #2054 asks for a native readback on RDNA 2, and nothing
in the tree establishes it; the docstring could say "LLVM 15's reading, unverified against hardware" in as many words, so a later reader does not treat
it as measured.

AI-assisted; the main contents and the merge-tree conflict above were checked locally at 72e26e7f.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7148611558 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2103#issuecomment-7148611558). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-25T00:32:22Z. --- ## #2100 already landed this swap — what is left here is the docstring and two test edits, and a rebase has to be careful not to undo #2100 `main` at `72e26e7f` already carries the field swap from #2100: ```text tools/pixel_aot.py on main: contains 'op_sel_hi enables f16' True contains 'zip(tokens, op_sel_hi, op_sel)' True ``` Same two changes this PR makes. So the review effort here should go to what is *not* in main yet, which is still worth having: - the `parse_fma_mix` docstring, which states the LLVM 15 provenance (`SelectVOP3PMadMixModsImpl`, `printOpSelHi`) and, better than #2100's one-liner, says **why** `op_sel` on a binary32 source is refused rather than given a meaning; - the error message `"op_sel selects a half only for a binary16 (op_sel_hi) source"`, which names the field that was wrong instead of restating the invariant; - the `tests/pixel_aot_check.py` and `tests/rdna2_tools_check.py` updates and the `docs/experiments.md` line. ## The rebase hazard, measured `git merge-tree --write-tree origin/main pr-2103` conflicts in `docs/experiments.md`, and `tools/pixel_aot.py` would apply — but note what the naive application does. Diffing against today's `main`: ```diff - if re.fullmatch(r"-\d+", token) and -16 <= int(token) <= -1: - raise ValueError(f"Ambiguous mixed-precision inline constant {token}") - if token == "-0": - expr = "asfloat(0x80000000u)" - elif is_f16: + if is_f16: ``` Those three lines are #2100's, added after this branch was cut. Merged as-is this PR **removes** them: a negative inline constant would go back to being ambiguous without the refusal, and `-0` would lose its sign. The merge is textually clean at that site, which is exactly the dangerous case — nothing flags it. So when you rebase, the resolution is "keep both": the `-16..-1` refusal and the `-0` branch from #2100, plus your docstring and message. If you would rather not carry the duplicate half, the smaller PR is: docstring + message + the two test files, on top of today's `main`. ## What I would keep regardless of who lands it The docstring is the part that will still matter in a year. It is the only place in the tree that records *why* the assignment is what it is, with the LLVM symbol names, and it is the thing I would have wanted when I was reading this code cold earlier today — I had to reconstruct the same conclusion from `gfx2hlsl.mix()` refusing `op_sel` outright. One addition worth making while you are there: the assignment is still not settled by hardware. `#2054` asks for a native readback on RDNA 2, and nothing in the tree establishes it; the docstring could say "LLVM 15's reading, unverified against hardware" in as many words, so a later reader does not treat it as measured. AI-assisted; the `main` contents and the merge-tree conflict above were checked locally at `72e26e7f`.
R0Y00 commented 2026-11-25 01:02:08 +00:00 (Migrated from github.com)

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


The selector correction is on main via #2100. Your test that isolates each source position is useful independently. Please rebase and keep that discriminator, removing the overlapping lowering. The merged parser rejects a half-select bit on a full-width input, so check the refusal class while keeping the swapped-source control.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7148915405 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2103#issuecomment-7148915405). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-25T00:49:25Z. --- The selector correction is on main via #2100. Your test that isolates each source position is useful independently. Please rebase and keep that discriminator, removing the overlapping lowering. The merged parser rejects a half-select bit on a full-width input, so check the refusal class while keeping the swapped-source control.
tedin7 commented 2026-11-25 13:00:59 +00:00 (Migrated from github.com)

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


@RenzoWit35 could you rebase this branch onto current main and force-push?

GitHub reports head eed1450e as conflicting with main, so it cannot be merged as is.

Files that conflict with current main (b1a644ae):

  • docs/experiments.md
  • tests/pixel_aot_check.py
  • tests/rdna2_tools_check.py
  • tools/pixel_aot.py

Commands run locally:

git fetch origin main pull/2103/head
git merge-tree --write-tree --name-only origin/main FETCH_HEAD
gh pr view 2103 --json mergeable   # CONFLICTING

Once it is rebased and CI is green it will be re-checked right away.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7162782918 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2103#issuecomment-7162782918). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T12:44:10Z. --- @RenzoWit35 could you rebase this branch onto current `main` and force-push? GitHub reports head `eed1450e` as conflicting with `main`, so it cannot be merged as is. Files that conflict with current `main` (`b1a644ae`): - `docs/experiments.md` - `tests/pixel_aot_check.py` - `tests/rdna2_tools_check.py` - `tools/pixel_aot.py` Commands run locally: ``` git fetch origin main pull/2103/head git merge-tree --write-tree --name-only origin/main FETCH_HEAD gh pr view 2103 --json mergeable # CONFLICTING ``` Once it is rebased and CI is green it will be re-checked right away. AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-25 17:02:00 +00:00 (Migrated from github.com)

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


@RenzoWit35 thanks for this fix. Update: the same change is already on main through #2100 (merge commit 72e26e7f06, same change).

tools/pixel_aot.py on current main (lines 2661-2685) already pairs op_sel with op_sel_hi the way this branch does, so a rebase would leave no net diff here.

Unless you see a case this branch covers that #2100 does not, this PR can be closed as a duplicate. Please point to the case if there is one.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7168820899 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2103#issuecomment-7168820899). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T16:58:51Z. --- @RenzoWit35 thanks for this fix. Update: the same change is already on `main` through #2100 (merge commit `72e26e7f06`, same change). `tools/pixel_aot.py` on current `main` (lines 2661-2685) already pairs `op_sel` with `op_sel_hi` the way this branch does, so a rebase would leave no net diff here. Unless you see a case this branch covers that #2100 does not, this PR can be closed as a duplicate. Please point to the case if there is one. AI-assisted; commands listed were executed locally.
upstream-sync closed this pull request 2026-11-26 05:02:09 +00:00
R0Y00 commented 2026-11-26 05:02:28 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-26T04:47:17Z.


The pixel AOT selector fix is already on main through #2100 (72e26e7f), which uses op_sel_hi for binary16 and op_sel for the half. Thanks for tracing the mismatch to both the translator and the old reference. Closing this as superseded by #2100. The RDNA 1 signed-zero report concerns a separate behavior under #2729.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7182902365 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2103#issuecomment-7182902365). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-26T04:47:17Z. --- The pixel AOT selector fix is already on main through #2100 (72e26e7f), which uses op_sel_hi for binary16 and op_sel for the half. Thanks for tracing the mismatch to both the translator and the old reference. Closing this as superseded by #2100. The RDNA 1 signed-zero report concerns a separate behavior under #2729.

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