shader: lower gfx1013 integer multiplies in pixel_aot #526

Open
Vonsek wants to merge 1 commit from upstream-pr/532 into main
Vonsek commented 2026-11-22 09:58:26 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Vonsek on 2026-11-22T09:58:26Z.


Change

tools/pixel_aot.py now lowers the gfx1013 integer multiply family. Each form becomes one HLSL uint expression in the existing INTEGER table (added through a separate INT_MULTIPLY table):

Instruction Encodings Definition (AMD RDNA 2 ISA)
v_mul_lo_u32 VOP3 (S0 * S1)[31:0]
v_mul_hi_u32 VOP3 (S0.u * S1.u)[63:32]
v_mul_hi_i32 VOP3 (S0.i * S1.i)[63:32]
v_mul_u32_u24 VOP2, e64 (S0[23:0] * S1[23:0])[31:0]
v_mul_i32_i24 VOP2, e64 (sext(S0[23:0]) * sext(S1[23:0]))[31:0]
v_mul_hi_u32_u24 VOP2, e64 (S0[23:0] * S1[23:0])[47:32]
v_mul_hi_i32_i24 VOP2, e64 (sext(S0[23:0]) * sext(S1[23:0]))[63:32]
v_mad_u32_u24 VOP3 S0[23:0] * S1[23:0] + S2
v_mad_i32_i24 VOP3 sext(S0[23:0]) * sext(S1[23:0]) + S2
v_mad_u32_u16 VOP3 S0[15:0] * S1[15:0] + S2
v_mad_i32_i16 VOP3 sext(S0[15:0]) * sext(S1[15:0]) + S2
  • Low words wrap modulo 2^32. Signed low products multiply the sign-extended values as uint, which gives the same low word and avoids signed overflow in the shader.
  • High words go through mul_hi_u32, which builds bits [63:32] from 16-bit limbs, so the shader does not need the optional 64-bit integer feature. mul_hi_i32 is the unsigned high word minus each operand that the other's sign bit weights by 2^32. The helpers are emitted once, and only when a high-word form is used.
  • Operands go through the existing int_operand path, so float source modifiers, clamp, op_sel, a wrong operand count, a 33-bit immediate, unwritten registers, reads of outstanding samples or scalar loads and the whole-quad mask are rejected. v_mul_lo_u16, v_mul_lo_i32, v_mad_u64_u32, v_mad_i64_i32 and the SDWA and DPP forms stay rejected. LLVM 18 assembles v_mul_lo_i32 for gfx1013, but the RDNA 2 reference and LLVM 15's gfx1013 form list do not include it.
  • tools/scan_unsupported_shaders.py derives its supported list from pixel_aot.INTEGER, so it recognises the new forms without a separate list (tests/pso_readiness_check.py asserts this for two forms and two rejected neighbours).

Tests:

  • tests/pixel_aot_check.py adds intmul_program(k). It computes all 15 forms from SGPR, VGPR, inline (-7) and VOP3 SGPR-source operands, then exports the four bytes of result k through v_cvt_f32_ubyte0-3, so each channel is an exact integer 0..255. intmul_reference is an independent Python model of the ISA definitions. Set 1 multiplies a negative a by a positive b; set 2 a positive a by a negative b. Each has bit 23 set in a negative 24-bit operand and bits above 23 that the 24-bit forms must drop, and bit 15 of b differs between the sets.
  • Every input and result is the pattern of a normal binary32 value except the four 24-bit high words. A 48-bit product has at most 16 significant bits above bit 31, so these words cannot be normal: they are 0x0000xxxx (subnormal pattern) on set 1 and 0xffffxxxx (a NaN pattern whose quiet bit is already set) on set 2.
  • New mode draw-intmul, registered as pixel_aot_intmul_hardware and pixel_aot_intmul_warp (60 s timeout, SKIP_RETURN_CODE 77 on hardware, FORM_COVERAGE_RECORD set). It runs 15 compiles × 2 input sets, then nine mutations on set 1 that must report pixel_mismatch: v_mul_lo_u32↔v_mul_hi_u32 both ways, v_mul_hi_i32→v_mul_hi_u32, v_mul_i32_i24→v_mul_u32_u24, v_mul_hi_i32_i24→v_mul_hi_u32_u24, v_mad_i32_i24→v_mad_u32_u24, v_mad_i32_i16→v_mad_u32_u16, and two that drop the 24-bit truncation: v_mul_u32_u24→v_mul_lo_u32 and v_mul_hi_u32_u24→v_mul_hi_u32. pixel_aot_predicate_rounding_* is unchanged.
  • Controls: exact HLSL for each form; e32 and e64 lower identically; helper emission (none for low-only programs, mul_hi_u32 alone for the unsigned 24-bit high word, both for signed); the rejections listed above; and a Python check that each mutation changes the set 1 word.
  • tests/pixel_aot_check.py binary round-trips the fixture for results 0 and 14 through llvm-mc and the disassembler.
  • tests/form_coverage_check.py asserts the 15 forms (4 VOP2 and 11 VOP3) are counted in both gfx1013.tsv and rdna2.tsv (exactly 15 more covered forms), and that the rejected neighbours stay out.

docs/experiments.md#offline-pixel-shader-recompilation describes the forms, the fixture, the exceptions to normal patterns and the new tests.

Verification

  • Linux, LLVM 18.1: tests/pixel_aot_check.py (controls) and tests/pixel_aot_check.py binary llvm-mc llvm-objcopy libLLVM.so.1 pass; form_coverage_check, pso_readiness_check, rdna2_tools_check, shader_probe_check, ffx_dispatch_aot_check, docs_links_check and bidi_controls_check pass; git diff --check is clean.
  • With tools/pixel_aot.py from main, tests/pixel_aot_check.py, tests/form_coverage_check.py and draw-intmul fail with ValueError: Unsupported instruction 22: v_mul_lo_u32 v20, s44, v18, and the scanner reports v_mul_lo_u32 and v_mad_u32_u16 as unsupported.
  • The generated HLSL main body and helpers, compiled as C++20 with 32-bit uint semantics (clang 18), match intmul_reference for all 15 results on both input sets and on 900 further cases with random and edge words (0, 1, 0x7fffffff, 0x80000000, 0xffffffff, 0x00800000, 0x00ffffff, 0xff800000, 0x7fff, 0x8000, 0xffff), including subnormal and NaN patterns. The draw-intmul mode ran end to end with a pass-through compiler and a renderer stand-in that evaluates the HLSL the same way: 30 draws matched and all nine mutations reported pixel_mismatch.
  • DXC and D3D12, measured on Windows: DXC 1.9.2602.17 compiles all 15 variants, and all 30 draws match intmul_reference on an NVIDIA GeForce RTX 5080 (driver 32.0.16.1692) and on WARP, including results 7 to 10, whose words are subnormal patterns on set 1 and NaN patterns on set 2: neither adapter flushed or changed them between asfloat and asuint. All nine mutations report pixel_mismatch on both adapters.
  • Windows: ctest --preset dev --no-tests=error -R '^pixel_aot_(intmul_(hardware|warp)|hardware|warp)$' -V at 7327767 on Windows 11 build 26200.9974, VS Build Tools 2022 17.14 (MSVC 14.44.35207), Windows SDK 10.0.26100: 4/4 passed. pixel_aot_intmul_hardware took 11.8-12.8 s and pixel_aot_intmul_warp 2.9 s, well under the 60 s timeout; pixel_aot_hardware and pixel_aot_warp still pass. The D3D12 debug layer was not available. The full ctest --preset dev --no-tests=error passed 245/245, with bvh_wave64_hardware, bvh_wave64_warp and wave_shuffle_warp skipped.

Evidence and follow-up

  • The semantics follow the RDNA 2 ISA reference and are not measured on Scarlett.
  • The four 24-bit high-word results are subnormal or NaN bit patterns held in a float between asfloat and asuint. DXC should fold that pair of bitcasts. If an adapter flushes or changes them, the draw for results 7 to 10 will report a mismatch and identify the problem; the other 11 results are normal patterns.
  • Conflict with open #526: that PR adds three-operand forms to the same INTEGER table and lists v_mad_u32_u24, v_mad_u32_u16 and v_mul_lo_u32 as rejected neighbours in its controls and in form_coverage_check.py. This PR adds its forms through a separate INT_MULTIPLY table so the table edits do not overlap. Whichever lands second must drop those three names from the other's rejection lists.
  • Open #414 lowers the DPP16/DPP8 forms of the four 24-bit multiplies; this PR covers the VOP2 and VOP3 encodings only and keeps DPP rejected here.
  • Still uncovered nearby: v_mad_u64_u32/v_mad_i64_i32 (64-bit result with a carry-out mask), v_mul_lo_u16, the SDWA 24-bit multiplies, and op_sel on v_mad_u32_u16/v_mad_i32_i16.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5437875146 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/532). Originally posted by [Vonsek](https://github.com/Vonsek) on 2026-11-22T09:58:26Z. --- ## Change `tools/pixel_aot.py` now lowers the gfx1013 integer multiply family. Each form becomes one HLSL `uint` expression in the existing `INTEGER` table (added through a separate `INT_MULTIPLY` table): | Instruction | Encodings | Definition (AMD RDNA 2 ISA) | |---|---|---| | `v_mul_lo_u32` | VOP3 | (S0 * S1)[31:0] | | `v_mul_hi_u32` | VOP3 | (S0.u * S1.u)[63:32] | | `v_mul_hi_i32` | VOP3 | (S0.i * S1.i)[63:32] | | `v_mul_u32_u24` | VOP2, e64 | (S0[23:0] * S1[23:0])[31:0] | | `v_mul_i32_i24` | VOP2, e64 | (sext(S0[23:0]) * sext(S1[23:0]))[31:0] | | `v_mul_hi_u32_u24` | VOP2, e64 | (S0[23:0] * S1[23:0])[47:32] | | `v_mul_hi_i32_i24` | VOP2, e64 | (sext(S0[23:0]) * sext(S1[23:0]))[63:32] | | `v_mad_u32_u24` | VOP3 | S0[23:0] * S1[23:0] + S2 | | `v_mad_i32_i24` | VOP3 | sext(S0[23:0]) * sext(S1[23:0]) + S2 | | `v_mad_u32_u16` | VOP3 | S0[15:0] * S1[15:0] + S2 | | `v_mad_i32_i16` | VOP3 | sext(S0[15:0]) * sext(S1[15:0]) + S2 | - Low words wrap modulo 2^32. Signed low products multiply the sign-extended values as `uint`, which gives the same low word and avoids signed overflow in the shader. - High words go through `mul_hi_u32`, which builds bits [63:32] from 16-bit limbs, so the shader does not need the optional 64-bit integer feature. `mul_hi_i32` is the unsigned high word minus each operand that the other's sign bit weights by 2^32. The helpers are emitted once, and only when a high-word form is used. - Operands go through the existing `int_operand` path, so float source modifiers, `clamp`, `op_sel`, a wrong operand count, a 33-bit immediate, unwritten registers, reads of outstanding samples or scalar loads and the whole-quad mask are rejected. `v_mul_lo_u16`, `v_mul_lo_i32`, `v_mad_u64_u32`, `v_mad_i64_i32` and the SDWA and DPP forms stay rejected. LLVM 18 assembles `v_mul_lo_i32` for gfx1013, but the RDNA 2 reference and LLVM 15's gfx1013 form list do not include it. - `tools/scan_unsupported_shaders.py` derives its supported list from `pixel_aot.INTEGER`, so it recognises the new forms without a separate list (`tests/pso_readiness_check.py` asserts this for two forms and two rejected neighbours). Tests: - `tests/pixel_aot_check.py` adds `intmul_program(k)`. It computes all 15 forms from SGPR, VGPR, inline (`-7`) and VOP3 SGPR-source operands, then exports the four bytes of result `k` through `v_cvt_f32_ubyte0`-`3`, so each channel is an exact integer 0..255. `intmul_reference` is an independent Python model of the ISA definitions. Set 1 multiplies a negative `a` by a positive `b`; set 2 a positive `a` by a negative `b`. Each has bit 23 set in a negative 24-bit operand and bits above 23 that the 24-bit forms must drop, and bit 15 of `b` differs between the sets. - Every input and result is the pattern of a normal binary32 value except the four 24-bit high words. A 48-bit product has at most 16 significant bits above bit 31, so these words cannot be normal: they are 0x0000xxxx (subnormal pattern) on set 1 and 0xffffxxxx (a NaN pattern whose quiet bit is already set) on set 2. - New mode `draw-intmul`, registered as `pixel_aot_intmul_hardware` and `pixel_aot_intmul_warp` (60 s timeout, `SKIP_RETURN_CODE 77` on hardware, `FORM_COVERAGE_RECORD` set). It runs 15 compiles × 2 input sets, then nine mutations on set 1 that must report `pixel_mismatch`: `v_mul_lo_u32`↔`v_mul_hi_u32` both ways, `v_mul_hi_i32`→`v_mul_hi_u32`, `v_mul_i32_i24`→`v_mul_u32_u24`, `v_mul_hi_i32_i24`→`v_mul_hi_u32_u24`, `v_mad_i32_i24`→`v_mad_u32_u24`, `v_mad_i32_i16`→`v_mad_u32_u16`, and two that drop the 24-bit truncation: `v_mul_u32_u24`→`v_mul_lo_u32` and `v_mul_hi_u32_u24`→`v_mul_hi_u32`. `pixel_aot_predicate_rounding_*` is unchanged. - Controls: exact HLSL for each form; e32 and e64 lower identically; helper emission (none for low-only programs, `mul_hi_u32` alone for the unsigned 24-bit high word, both for signed); the rejections listed above; and a Python check that each mutation changes the set 1 word. - `tests/pixel_aot_check.py binary` round-trips the fixture for results 0 and 14 through `llvm-mc` and the disassembler. - `tests/form_coverage_check.py` asserts the 15 forms (4 VOP2 and 11 VOP3) are counted in both `gfx1013.tsv` and `rdna2.tsv` (exactly 15 more covered forms), and that the rejected neighbours stay out. `docs/experiments.md#offline-pixel-shader-recompilation` describes the forms, the fixture, the exceptions to normal patterns and the new tests. ## Verification - Linux, LLVM 18.1: `tests/pixel_aot_check.py` (controls) and `tests/pixel_aot_check.py binary llvm-mc llvm-objcopy libLLVM.so.1` pass; `form_coverage_check`, `pso_readiness_check`, `rdna2_tools_check`, `shader_probe_check`, `ffx_dispatch_aot_check`, `docs_links_check` and `bidi_controls_check` pass; `git diff --check` is clean. - With `tools/pixel_aot.py` from `main`, `tests/pixel_aot_check.py`, `tests/form_coverage_check.py` and `draw-intmul` fail with `ValueError: Unsupported instruction 22: v_mul_lo_u32 v20, s44, v18`, and the scanner reports `v_mul_lo_u32` and `v_mad_u32_u16` as unsupported. - The generated HLSL main body and helpers, compiled as C++20 with 32-bit `uint` semantics (clang 18), match `intmul_reference` for all 15 results on both input sets and on 900 further cases with random and edge words (0, 1, 0x7fffffff, 0x80000000, 0xffffffff, 0x00800000, 0x00ffffff, 0xff800000, 0x7fff, 0x8000, 0xffff), including subnormal and NaN patterns. The `draw-intmul` mode ran end to end with a pass-through compiler and a renderer stand-in that evaluates the HLSL the same way: 30 draws matched and all nine mutations reported `pixel_mismatch`. - DXC and D3D12, measured on Windows: DXC 1.9.2602.17 compiles all 15 variants, and all 30 draws match `intmul_reference` on an NVIDIA GeForce RTX 5080 (driver 32.0.16.1692) and on WARP, including results 7 to 10, whose words are subnormal patterns on set 1 and NaN patterns on set 2: neither adapter flushed or changed them between `asfloat` and `asuint`. All nine mutations report `pixel_mismatch` on both adapters. - Windows: `ctest --preset dev --no-tests=error -R '^pixel_aot_(intmul_(hardware|warp)|hardware|warp)$' -V` at 7327767 on Windows 11 build 26200.9974, VS Build Tools 2022 17.14 (MSVC 14.44.35207), Windows SDK 10.0.26100: 4/4 passed. `pixel_aot_intmul_hardware` took 11.8-12.8 s and `pixel_aot_intmul_warp` 2.9 s, well under the 60 s timeout; `pixel_aot_hardware` and `pixel_aot_warp` still pass. The D3D12 debug layer was not available. The full `ctest --preset dev --no-tests=error` passed 245/245, with `bvh_wave64_hardware`, `bvh_wave64_warp` and `wave_shuffle_warp` skipped. ## Evidence and follow-up - The semantics follow the RDNA 2 ISA reference and are not measured on Scarlett. - The four 24-bit high-word results are subnormal or NaN bit patterns held in a `float` between `asfloat` and `asuint`. DXC should fold that pair of bitcasts. If an adapter flushes or changes them, the draw for results 7 to 10 will report a mismatch and identify the problem; the other 11 results are normal patterns. - Conflict with open #526: that PR adds three-operand forms to the same `INTEGER` table and lists `v_mad_u32_u24`, `v_mad_u32_u16` and `v_mul_lo_u32` as rejected neighbours in its controls and in `form_coverage_check.py`. This PR adds its forms through a separate `INT_MULTIPLY` table so the table edits do not overlap. Whichever lands second must drop those three names from the other's rejection lists. - Open #414 lowers the DPP16/DPP8 forms of the four 24-bit multiplies; this PR covers the VOP2 and VOP3 encodings only and keeps DPP rejected here. - Still uncovered nearby: `v_mad_u64_u32`/`v_mad_i64_i32` (64-bit result with a carry-out mask), `v_mul_lo_u16`, the SDWA 24-bit multiplies, and `op_sel` on `v_mad_u32_u16`/`v_mad_i32_i16`.
R0Y00 commented 2026-11-24 06:49:00 +00:00 (Migrated from github.com)

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


Current main already includes the four plain 24-bit multiply forms. The full-width v_mul_lo_u32, v_mul_hi_u32 and v_mul_hi_i32 are still candidates. Please update the PR to focus on those three, retain the distinguishing signed/unsigned and wraparound readbacks, and coordinate the overlapping low product with #678.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7091921097 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/532#issuecomment-7091921097). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-23T04:51:22Z. --- Current main already includes the four plain 24-bit multiply forms. The full-width `v_mul_lo_u32`, `v_mul_hi_u32` and `v_mul_hi_i32` are still candidates. Please update the PR to focus on those three, retain the distinguishing signed/unsigned and wraparound readbacks, and coordinate the overlapping low product with #678.
JB2WIN commented 2026-11-24 06:50:30 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by JB2WIN on 2026-11-24T06:03:42Z.


@Vonsek, I'd like to take v_mad_u64_u32 and v_mad_i64_i32, which your PR lists as still uncovered. I'll open a separate PR with its own table and mode, so neither the INTEGER nor the INT_MULTIPLY table changes. The PR will cover the 64-bit result in a register pair and the carry-out lane mask. If you'd rather keep these in #532, tell me and I'll drop them.

AI-assisted (Claude Code).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7123539410 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/532#issuecomment-7123539410). Originally posted by [JB2WIN](https://github.com/JB2WIN) on 2026-11-24T06:03:42Z. --- @Vonsek, I'd like to take `v_mad_u64_u32` and `v_mad_i64_i32`, which your PR lists as still uncovered. I'll open a separate PR with its own table and mode, so neither the `INTEGER` nor the `INT_MULTIPLY` table changes. The PR will cover the 64-bit result in a register pair and the carry-out lane mask. If you'd rather keep these in #532, tell me and I'll drop them. AI-assisted (Claude Code).
tedin7 commented 2026-11-27 09:37:10 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-27T09:37:10Z.


This PR now conflicts with main. Conflicting files:

  • CMakeLists.txt
  • tests/form_coverage_check.py
  • tests/pixel_aot_check.py
  • tools/pixel_aot.py

Could you merge main into your branch (a merge commit, no force push needed) and resolve these? Thank you.

AI-assisted; commands listed were executed locally. (git merge-tree origin/main <head>)

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7214894035 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/532#issuecomment-7214894035). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-27T09:37:10Z. --- This PR now conflicts with `main`. Conflicting files: - `CMakeLists.txt` - `tests/form_coverage_check.py` - `tests/pixel_aot_check.py` - `tools/pixel_aot.py` Could you merge `main` into your branch (a merge commit, no force push needed) and resolve these? Thank you. AI-assisted; commands listed were executed locally. (`git merge-tree origin/main <head>`)
Leyukaka commented 2026-11-29 10:10:48 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-11-29T10:10:48Z.


@Vonsek status of the table against main c3259f27 (tools/pixel_aot.py):

Already on main:

  • v_mul_lo_u32: INTEGER table, line 873 (f7d0e897, merged with #678 as 527a2557).
  • v_mul_u32_u24, v_mul_i32_i24, v_mul_hi_u32_u24, v_mul_hi_i32_i24: lines 869-872 (#542, bbebcad0).
  • The mul_hi_u32 / mul_hi_i32 HLSL helpers: SALU_HELPERS["scalar_mul_hi"], lines 936-947 (#604, 7cfe3b03), used for s_mul_hi_u32/i32 (SCALAR table, lines 1753-1754) and by v_mad_u64_u32 / v_mad_i64_i32 (#1278, c919ad07). This branch's INTEGER_HELPERS defines functions with the same two names, so the branch could reuse that helper.

Not on main:

  • v_mul_hi_u32, v_mul_hi_i32 (vector).
  • v_mad_u32_u24, v_mad_i32_i24, v_mad_u32_u16, v_mad_i32_i16. tests/pixel_aot_check.py:7631 currently expects v_mad_u32_u16 and v_mad_i32_i16 to be refused.

Of the three forms named in the 2026-11-23 comment here, only v_mul_hi_u32 and v_mul_hi_i32 are left. Could you narrow the branch to what is still missing and merge main? It conflicts in CMakeLists.txt, tests/form_coverage_check.py, tests/pixel_aot_check.py and tools/pixel_aot.py.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7254261001 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/532#issuecomment-7254261001). Originally posted by [Leyukaka](https://github.com/Leyukaka) on 2026-11-29T10:10:48Z. --- @Vonsek status of the table against main `c3259f27` (`tools/pixel_aot.py`): Already on main: - `v_mul_lo_u32`: `INTEGER` table, line 873 (`f7d0e897`, merged with #678 as `527a2557`). - `v_mul_u32_u24`, `v_mul_i32_i24`, `v_mul_hi_u32_u24`, `v_mul_hi_i32_i24`: lines 869-872 (#542, `bbebcad0`). - The `mul_hi_u32` / `mul_hi_i32` HLSL helpers: `SALU_HELPERS["scalar_mul_hi"]`, lines 936-947 (#604, `7cfe3b03`), used for `s_mul_hi_u32/i32` (`SCALAR` table, lines 1753-1754) and by `v_mad_u64_u32` / `v_mad_i64_i32` (#1278, `c919ad07`). This branch's `INTEGER_HELPERS` defines functions with the same two names, so the branch could reuse that helper. Not on main: - `v_mul_hi_u32`, `v_mul_hi_i32` (vector). - `v_mad_u32_u24`, `v_mad_i32_i24`, `v_mad_u32_u16`, `v_mad_i32_i16`. `tests/pixel_aot_check.py:7631` currently expects `v_mad_u32_u16` and `v_mad_i32_i16` to be refused. Of the three forms named in the 2026-11-23 comment here, only `v_mul_hi_u32` and `v_mul_hi_i32` are left. Could you narrow the branch to what is still missing and merge main? It conflicts in `CMakeLists.txt`, `tests/form_coverage_check.py`, `tests/pixel_aot_check.py` and `tools/pixel_aot.py`.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/532:upstream-pr/532'
git switch 'upstream-pr/532'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/532'
git switch 'upstream-pr/532'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/532'
git switch 'upstream-pr/532'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/532'
git switch 'main'
git merge --squash 'upstream-pr/532'
git switch 'main'
git merge --ff-only 'upstream-pr/532'
git switch 'main'
git merge 'upstream-pr/532'
git push origin 'main'
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!526
No description provided.