Skip to content

agx: keep half register FFMA operands that several FFMAs read on AGX3C - #386

Merged
DjDeveloperr merged 1 commit into
aurora-wipfrom
j716c/agx-g17c-half-ffma-operands
Nov 22, 2026
Merged

DjDeveloperr merged 1 commit into
aurora-wipfrom
j716c/agx-g17c-half-ffma-operands

Conversation

@erikwb

@erikwb erikwb commented Nov 15, 2026 •

Copy link
Copy Markdown

agx_lower_agx3_fma_sources() widens each plain half register operand of an
AGX3C FFMA with a move to a full register (fadd x, -0.0). The AGX3C FFMA
reads a half register in its own typed operand slot and widens it exactly,
for either destination size. The AGX3C packer already encodes such operands,
as it does for the modified half operands this pass leaves alone.

Widening still pays for a value that only one FFMA reads: the move issues off
the FFMA's dependency chain, and in a dependent FFMA chain measured on G17C,
an FFMA that reads a half register is slower than one on full registers
(below). For a value that several FFMAs
read, though, the widened copy holds a full register across all of them. In
multi-row f16 GEMVs, where each half weight feeds one FFMA per row, those
copies set the kernels' register count.

Change

On the AGX3C encoding (G17G, G17S, G17C), a plain half register operand of
an FFMA is kept when two or more FFMAs read its value. An FFMA taking it in
several slots counts once. A value that one FFMA reads is widened as before.
A plain half register is also widened when a 32-bit register or uniform
operand of the same FFMA carries abs/neg: that FFMA keeps the all-F32 form
rather than becoming a mixed-width FFMA. The existing exceptions are
unchanged: half operands with abs/neg are still kept, and so is a single
half uniform beside a full register in a scalar 32-bit FFMA.

Not changed:

  • AGX3B keeps its own unmodified F32 scalar-register path on aurora-wip
    (d7a02f6dc20), unaffected by the multi-reader AGX3C count here.
  • G18G (compiled as AGX3C, re-encoded as agx3d) keeps its existing half
    legalization, as the mixed-half form has no exact-result validation on the
    re-encoded path.

Testing

Compiler, on aurora-wip 1fdf5396758f at head f65ddb868dcc, in an x86_64
build with assertions (-Doptimization=2 -Db_ndebug=false -Dbuild-tests=true,
Gallium and Vulkan asahi drivers): meson test --suite asahi passes 158 of
158
(0 fail). agx_tests passes 1,233, with 1 skipped
(NativeFMA.ExactDyadicOracle, which skips without its AGX_FMA_RTE_CASES
input, on aurora-wip too).

  • SignedZeroFMA.AGX3CKeepsHalfRegisterOperands covers every placement of
    half operands, 32- and 16-bit destinations, and FFMAs with or without
    abs/neg on a full register operand. On G17G, G17S and G17C, half values
    that two FFMAs read stay and no instruction is added. A value that one
    FFMA reads (alone, or also read by an FADD) is widened, as is every half
    next to a full register modifier. On G17P (AGX3B), unmodified F32
    scalar-register FFMAs keep their landed path while 16-bit-destination and
    modified forms widen.
  • SignedZeroFMA.AGX3CModifiedUniformWidensHalves (G17C): with abs/neg on a 32-bit
    uniform addend, the half operands are widened, the modifier stays on the
    FFMA, and no bitop is added. A third, plain reader keeps the half.
  • SignedZeroFMA.G18GKeepsItsHalfWidening: on G18G, a 32-bit FFMA's half
    operands are widened even when two FFMAs read them. A 16-bit FFMA is left
    as it is.
  • AGX3PackBinary.AGX3CMixedFMAHalfRegistersPackAfterRA, on G17G, G17S and
    G17C, covers two FFMAs reading the same operands, in every mixed shape at
    both destination sizes. It also covers abs/neg on one half operand next to
    a plain one, and a 16- or 32-bit uniform addend (which
    agx_lower_uniform_sources copies to a register when a half register
    operand remains). The half register operands and their modifiers stay,
    registers are allocated, and they pack as the two FFMAs. No widening move
    reads a half register operand.
  • SignedZeroFMA.AGX3CCountsEachFFMAOnce (G17C): one FFMA taking the same
    half value in two or three slots widens it, and two such FFMAs keep it.
  • SignedZeroFMA.AGX3CHalfOperandsAfterTwoLegalizations (G17C) runs legalization
    twice, as the compiler does, with one reader whose full register operand is
    negated. With one other reader, that reader is widened too. With two other
    readers, they keep the half register beside the widened copy.

Shader statistics (instructions, registers, threads, spills, fills, scratch,
code size), aurora-wip 7ba2957 vs this change on it (before the rebase,
with the same AGX3C logic), compiled on the host under the noop drm-shim for each
chip. "No change" means none of these statistics changed for the shaders
that compiled on both. They are compile statistics, not game performance:

  • Precompiled libagx kernels: the generated kernel arrays are identical on
    every target, g17g and g18g included (checked on aurora-wip fa9a676).
  • An inference engine's 483 compute kernels (lily): on each of G17C, G17S and
    G17G, 14 are smaller and none is larger (G17C: 390,008 -> 389,661
    instructions, 13 use fewer registers, 12 gain occupancy). No change on
    G18G, G17P or G16G (41 kernels compile there) or on G13G or G14G (25).
  • 617 compute shaders of a game (Cyberpunk 2077): on G17C and G17S, 47
    change, 30 smaller and 9 larger, 716,277 -> 716,157 instructions in total.
    The largest increase is one heavily spilling shader: +37 instructions and
    +5 fills. On G17G the same 47 change, 30 smaller and 5 larger. No change on
    G17P, or on G18G, where 347 of the 617 compile.

On an M5 Max (G17C), with this change on aurora-wip 7ba2957 (the same AGX3C
code before the rebase) and with aurora-wip 7ba2957 as the base, VK-GL-CTS
7ba03cd (2026-11-01). The cases come from the main mustpass. Every case has
the same result on both:

case set (mustpass) cases Pass Not supported
glsl.builtin.precision_fp16_storage*, glsl.builtin.function.*, glsl.operator.bitwise* and shift operators, spirv_assembly.instruction.compute. opfma, float16, float_controls*, 8bit_storage, 16bit_storage, convert* 8263 5804 2459
compute.pipeline.cooperative_matrix.*, 1500 evenly spaced 1500 150 1350

No failures, crashes or GPU faults on either. In a run with compiler
statistics, 51 of the cases in the first set compile differently from
aurora-wip (27 glsl.builtin.precision_fp16_storage*, 24
spirv_assembly float16), and all of them pass on both.

Earlier, on the M5 Max with the G17C form of this change, on aurora-wip
b4f154f plus the open M5 changes of that day:

  • Operand probes, each form with its own inputs, every half encoding
    (denormals, infinities, NaNs) among the half operands, and f32 operands of
    exponents -15 to 16. The outputs are bit-identical to those of the tree
    without this commit:

    • Each half operand read by two FFMAs, all seven placements of half and
      f32 operands, 7,340,032 results. f32 results were checked against a
      correctly rounded fused multiply-add on the CPU, and half results of
      float16_t(fma(...)) against that fused multiply-add narrowed to half:
      0 differ.
    • With every half register operand kept (an earlier revision of this
      change), the same comparisons over the single-read forms: 2,359,296 f32
      results, 2,097,152 half results over all eight placements, and 2,097,152
      FMAs of three halves (with abs/neg, a half literal, a saturated result)
      against the exact result rounded once to half: 0 differ.
  • A chain of dependent FMAs at full occupancy with a half multiplicand, on
    G17C, takes 104 µs with the multiplicand widened once before the loop and
    108 µs with it as a half register operand. With an f32 multiplicand, it
    takes 104 µs on both trees. This measures that dependent chain only, not
    the issue rate of independent FFMAs or the other AGX3C parts.

  • Kernel time, K = N = 4096, 400 dispatches, two rounds per tree (µs):

    kernel before after
    glm53_gemv_f16_m1 61.3 / 61.6 61.3 / 61.1
    glm53_gemv_f16_m4 77.3 / 76.9 77.0 / 76.9
    glm53_gemv_f16_m5 85.8 / 85.3 83.9 / 84.0
    glm53_gemv_f16_m6 91.5 / 90.8 89.2 / 89.5
    glm53_gemv_f16_m7 100.9 / 101.5 96.5 / 96.6
    glm53_gemv_f16_m8 112.9 / 113.1 105.2 / 105.2
    qg_gemv_f16_m4 65.4 / 65.4 64.4 / 63.7
  • End to end (lily, the same build of each model's benchmark, rounds
    alternating between the trees): no change beyond run-to-run noise, with
    identical output digests.

Still to run

  • M5 (G17G) / M5 Pro (G17S) hardware CTS row on head f65ddb868dcc (no G17G or G17S hardware available locally).
  • M5 Max (G17C) rebased-head regression row on f65ddb868dcc vs 1fdf5396758f.

Assisted-by: LLM (Claude:Opus 5.5, Google:Gemini 4 Neon)

@RyanTheTide

Copy link
Copy Markdown

Thanks for this, the register savings in multi-row f16 GEMVs are a nice result and the tests are thorough.

One request on how it is selected. We select behaviour by a hardware property, not by the chip it was measured on. The reason given is an ISA property (the FFMA reads a half register in its own typed operand slot, which the AGX3C packer already encodes), but the gate is a single chip:

  • src/asahi/compiler/agx_compile.c:5173: if (ctx->key->dev.chip == AGX_CHIP_G17C) {
  • src/asahi/compiler/agx_compile.c:5235-5236: "G17C's FFMA reads a half register in its own typed operand slot ..."

If G17G and G17S use the same AGX3C encoding, could this key on the encoding (or an ISA feature flag) so they take it too? If they lack that operand form or measure slower, please note that hardware reason in the comment instead.

If you make it encoding-wide we would welcome rows from M5 owners; on our side we can confirm no change on our A18 Pro, M4 Pro, M1 Pro and M2.

@DjDeveloperr

Copy link
Copy Markdown

Merge train: independent review (code only, Opus 5.5 xhigh)

Verdict: CLEAN WITH NITS. No blocker or major. NIT: a modifier on a 32-bit uniform operand does not stop the half value from being kept, which costs two extra instructions in that case (the result stays exact).

Reach: gated on chip == AGX_CHIP_G17C, and no libagx target compiles as G17C, so this changes no codegen, layouts or cache keys on G17S/G17G (M5 / M5 Pro) or G17P. The train holds it only on RyanTheTide's open property-gate request (owner decision pending on merging G17C-gated PRs as-is). On widening: keying on the AGX3C encoding would also sweep in G18G (encoding AGX3C, chip G17G, emit_agx3d), and any encoding-wide gate changes the precompiled g17g/g18g libagx kernels every M5 part loads. For this PR, exclude G18G unless its AGX3D re-encoder handles half-register FFMA operands (G18G has its own half-widening path).

@erikwb
erikwb force-pushed the j716c/agx-g17c-half-ffma-operands branch from 167d7e0 to 9cd2277 Compare November 21, 2026 16:52
@erikwb erikwb changed the title agx: keep half register FFMA operands that several FFMAs read on G17C agx: keep half register FFMA operands that several FFMAs read on AGX3C Nov 21, 2026
@erikwb

erikwb commented Nov 21, 2026

Copy link
Copy Markdown
Author

Note

🤖 Claude Opus 5.5 responding on behalf of erikwb

Thanks to you both. Changes in this revision:

  • Gate: the count of FFMA readers now runs for encoding == AGX_ISA_ENCODING_AGX3C && !agx_is_g18g(...) instead of chip == AGX_CHIP_G17C, so G17G, G17S and G17C all take it. AGX3B keeps widening every plain half register. Only the AGX3C form of an FFMA reading a plain half register was checked against exact results, and a wrong guess would mean wrong results, not just slower ones. If you'd like AGX3B included, your A18 Pro and M4 Pro could settle it with an exactness probe. G18G (compiled as AGX3C, re-encoded as agx3d) keeps its existing half legalization. That path widens every plain half of a 32-bit FFMA and leaves 16-bit FFMAs alone. The comment now gives the reason: the mixed-half form has no equivalent result validation on the re-encoded path.
  • Dj's nit: a modifier on a 32-bit uniform operand now stops a plain half register from being kept, the same as a modifier on a full register. Such an FFMA stays all-F32 instead of becoming a mixed-width FFMA that pays a move and a bitop for the modifier. The existing exceptions are unchanged: modified half operands are kept, and so is a lone half uniform beside a full register. New test: SignedZeroFMA.AGX3CModifiedUniformWidensHalves. It checks that no bitop is added and the modifier stays on the uniform, while a third, plain reader still keeps the half. It fails with the old condition.
  • Tests: the operand matrix (AGX3CKeepsHalfRegisterOperands) and the post-RA packing matrix (AGX3CMixedFMAHalfRegistersPackAfterRA) loop over G17G, G17S and G17C. The duplicate-reader, two-legalization and modified-uniform tests run on G17C. G18GKeepsItsHalfWidening pins the G18G behaviour.
  • Rebased onto aurora-wip fa9a676. The rebase was clean.

Precompiled libagx kernels: I built aurora-wip and this change and compared the generated kernel arrays in libagx_shaders.c. They are identical on all eight targets, g17g and g18g included.

Shader statistics, aurora-wip vs this change (host compiles under the noop drm-shim). These are tracked compile statistics (instructions, registers, threads, spills, fills, scratch, code size) for the shaders that compiled on both trees. They don't measure game performance, and "no change" doesn't mean the binaries are byte-identical:

  • 483 lily compute kernels: on each of G17C, G17S and G17G, 14 get smaller (G17C 390,008 -> 389,661 instructions; 13 use fewer registers and 12 gain occupancy) and none gets larger. No change on G18G, G17P or G16G (41 kernels compile there), or on G13G or G14G (25).
  • 617 Cyberpunk 2077 compute shaders: on G17C and G17S, 47 change, 30 smaller and 9 larger, 716,277 -> 716,157 instructions in total. One heavily spilling shader gains 37 instructions and 5 fills; the other 8 grow by 1-5 instructions. G17G gets the same 47 (30 smaller, 5 larger). No change on G17P, or on G18G, where 347 of the 617 compile. Compared with the previous revision of the modifier condition, the tracked statistics of these 617 are the same.

On the M5 Max (G17C), the CTS subset in the description matches aurora-wip case for case. There's no G17G or G17S hardware here, so an M5 or M5 Pro row would be the useful one. A18 Pro, M4 Pro, M1 Pro and M2 should show no change.

@RyanTheTide

Copy link
Copy Markdown

No blockers. Re-read 9cd2277 against the reviewed 167d7e0.

  1. Selection: resolved. The reader count now runs for encoding == AGX_ISA_ENCODING_AGX3C && !agx_is_g18g(), and agx_is_g18g() is itself the emit_agx3d property, so no chip id is left in agx_lower_agx3_fma_sources(). Keeping AGX3B on the widening path until the exactness probe is run there, and G18G on its existing legalization with the reason in the comment, is the right call.
  2. The modifier nit is fixed: a 32-bit register or uniform operand with abs/neg now keeps the FFMA all-F32, and AGX3CModifiedUniformWidensHalves pins it.
  3. The counting looks correct: each FFMA counts once per value, temps made during the pass are excluded by the < nr_values check, a failed calloc falls back to widening everything, and the second legalization re-counts so a reader left alone after its partner was widened gets widened too (AGX3CHalfOperandsAfterTwoLegalizations). Saturated or non-3-source FFMAs count as readers, but they read the half register anyway, so that only affects the heuristic, not results.
  4. Evidence on this head: the M5 Max (G17C) CTS subset and the shader statistics come from the pre-rebase tree with the same code, and the libagx arrays are identical on all eight targets. That is enough for G17C. G17G and G17S still have only compile-time coverage. An M5 or M5 Pro row (the same CTS subset, matching aurora-wip case for case) is what's still owed. On our G17P, G16, G13 and G14 Macs the codegen doesn't change and the libagx kernels are identical, so a row there wouldn't add anything.

Assisted-by: LLM (Claude:Opus 5.5)

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of 9cd22776dc824a8cc6a9e20e194e82e424094910

0 code/policy/attribution blockers. Holding APPROVE only for §5 hardware verification on newly enabled AGX3C parts.

Checklist summary

  • §1 No model gating: Pass. agx_lower_agx3_fma_sources() (src/asahi/compiler/agx_compile.c:5226) gates on encoding == AGX_ISA_ENCODING_AGX3C && !g18g, where g18g is agx_is_g18g(&ctx->key->dev) (emit_agx3d). No chip IDs remain, and both exclusions (AGX3B and G18G/emit_agx3d) are documented in code comments and the commit message as lacking bit-exact hardware validation for plain half-register FFMA operands on those paths.
  • §2 Hygiene & §3 Correctness: Pass.
    • Reader counting (agx_compile.c:5224-5244) handles OOM safely (falls back to widening everything), deduplicates repeated uses of the same SSA value within a single FFMA, and guards I->src[s].value < nr_values against temps created during the pass.
    • full_modifier (agx_compile.c:5285-5288) covers both 32-bit GPRs and 32-bit uniforms so modified all-F32 FFMAs do not turn into mixed-width FFMAs requiring extra bitop modifier materialization.
    • Second legalization pass (agx_compile.c:13092) re-counts readers so a single remaining plain reader after a modified reader was widened gets widened too.
    • Unit tests (test-signed-zero-fma.cpp + test-agx3-pack-binary.cpp) thoroughly cover G17G/G17S/G17C, G17P, G18G, all 7 half masks, 16/32-bit destinations, repeated slots, modified full GPR/uniform operands, double legalization, and post-RA binary packing.
  • §4 Attribution & clean-room: Pass. Single commit carries human author/committer and Signed-off-by only; PR body includes Assisted-by:.
  • §6 Naming: Pass. Compiler-only (agx), no Honeykrisp/hk_ naming issues.
  • CI / Mergeability: MERGEABLE / CLEAN against aurora-wip; no CI checks configured on this branch. Host meson test --suite asahi (166/166) and agx_tests (1222 pass, 1 skip) pass on 9cd22776, and precompiled libagx arrays are identical across all 8 targets.

Remaining items (§5 evidence)

  1. Newly enabled AGX3C hardware (G17G M5 / G17S M5 Pro): at least one hardware run covering the fp16/FMA CTS subset (matching aurora-wip case-for-case) with regression checks (0 SELinux/AVC denials, 0 failed units, 0 new kernel errors).
  2. Rebased-head regression row on 9cd22776: the G17C CTS run (9,763 cases, 51 compiling differently, 0 diffs) was run on identical code prior to rebase (7ba29572); please include the regression row (0 AVC / 0 failed units / 0 new kernel errors) on the rebased head when running hardware checks. (AGX2, AGX3B, and G18G codegen and libagx are unchanged.)

Assisted-by: LLM (Gemini 4 Neon)

@DjDeveloperr

Copy link
Copy Markdown

A18 Pro (G17P B1, AGX_ISA_ENCODING_AGX3B, MacBook Neo, Linux 7.3.0-41.fc44.aurora.aarch64, sleep_guard=active, pmu=30 00) hardware exactness probe on top of exact PR head 9cd22776dc82 with AGX3B mixed-half f32fma enabled (for dest.size == AGX_SIZE_32, including agx_optimizer_fmov() folding f2f32 into AGX_OPCODE_FFMA on AGX3B and agx3_try_float_modifier() routing AGX3B half-src FFMA through agx3_falu_fma_mod_runtime()):

  • Base (fa9a6766c01) libvulkan_asahi.so SHA-256: 0410fe8e13fb2c700abdb2df381d622495686719470a707ef102625df9385f59
  • Test (9cd22776dc82 + AGX3B mixed-half FFMA) libvulkan_asahi.so SHA-256: b60218bac041947bac6fcb09a5b02f2db6076d883a748f3cbf1d9a4887e9da99

Post-RA shader verification (AGX_MESA_DEBUG=shaders):

  • Base (fa9a6766c01): 14 ffma, 0 half-register sources, 3 explicit fadd rNh, #-0.0 widenings.
  • Test (AGX3B enabled): 14 ffma, 14 half-register sources (src0_16, src1_16, addend_16, all 3 pairs, and all-3-half ffma r2l, r2h, r0h), 0 fadd widenings.

Exhaustive exactness probe (7,340,032 FMA outputs across all 65,536 fp16 bit patterns 0x0000..0xFFFF in every half slot × f32 exponents -15..+16 and specials):

  • CPU fmaf() mismatches: 0 (both base and test).
  • Output dump SHA-256:
    • Base (all-F32 widened): f779e284a41ed2a21f55adf7c84283032131cd769df370a8579f50e09b3735fe
    • Test (AGX3B native mixed-half f32fma): f779e284a41ed2a21f55adf7c84283032131cd769df370a8579f50e09b3735fe
    • Bit-for-bit identical (including NaN payloads).

FP16 Vulkan CTS subset (MESA_SHADER_CACHE_DISABLE=true):

CTS Group Cases Base (fa9a6766c01) Test (AGX3B mixed-half FFMA) Diffs vs base GPU faults (kfault_delta / avc_delta)
dEQP-VK.glsl.builtin.precision_fp16_storage* 659 539 Pass, 120 NotSupported, 0 Fail 539 Pass, 120 NotSupported, 0 Fail 0 0 / 0
dEQP-VK.spirv_assembly.instruction.compute.*float16* 1,014 926 Pass, 88 NotSupported, 0 Fail 926 Pass, 88 NotSupported, 0 Fail 0 0 / 0

Note for any follow-up widening to AGX3B (A18 Pro G17P and M4 G16G/G16S): AGX3B hardware widens plain half-register FFMA sources into F32 destinations identically to AGX3C (with agx_optimizer_fmov() also needing AGX_OPCODE_FFMA admitted on AGX3B, plus agx3_try_float_modifier() routing AGX3B half-src FFMA to agx3_falu_fma_mod_runtime(), and keeping dest.size == AGX_SIZE_32 since AGX3B does not have the narrow f16 destination form).

Assisted-by: LLM (Antigravity:Gemini 4 Neon)

agx_lower_agx3_fma_sources() widens plain half register operands of an
AGX3C FFMA with a move to a full register. The AGX3C FFMA reads a half
register in its own typed operand slot and widens it exactly, for either
destination size, and the AGX3C packer already encodes those operands
(as it does for the modified half operands this pass keeps).

Keep a half value in its half register when two or more FFMAs read it:
its widened copy would otherwise hold a full register across all of them.
A value that one FFMA reads stays widened. That move issues off the FFMA's
dependency chain, and in a dependent FFMA chain measured on G17C, reading
a half register was about 4% slower than reading full registers, so the
single-use form is faster widened. A plain half register is not kept in
an FFMA whose 32-bit register or uniform operand carries abs/neg, so that
FFMA keeps the all-F32 form instead of becoming a mixed-width one.

This applies to the AGX3C encoding (G17G, G17S, G17C). AGX3B keeps its
own unmodified F32 scalar-register path (unaffected by the multi-reader
count here). G18G, which compiles as AGX3C and re-encodes as agx3d, keeps
its existing half legalization, as the mixed-half form has no exact-result
validation on the re-encoded path.

On G17C, lily's multi-row f16 GEMVs keep their half weights in place:
glm53_gemv_f16_m2-m8 and qg_gemv_f16_m2-m4 drop 27-31 instructions and
32-40 registers, and most reach 1024 threads.

Signed-off-by: Erik Bourget <erik@ebourget.net>
@erikwb
erikwb force-pushed the j716c/agx-g17c-half-ffma-operands branch from 9cd2277 to f65ddb8 Compare November 22, 2026 17:06
@erikwb

erikwb commented Nov 22, 2026

Copy link
Copy Markdown
Author

Note

🤖 Gemini 4 Neon responding on behalf of erikwb

Rebased cleanly onto origin/aurora-wip (1fdf5396758f -> f65ddb868dcc), preserving the newly landed AGX3B unmodified F32 scalar-register path (d7a02f6dc20) alongside this PR's multi-reader AGX3C path (G17G/G17S/G17C), and updated SignedZeroFMA.AGX3CKeepsHalfRegisterOperands to match AGX3B's F32 behavior.

  • Host verification at f65ddb868dcc (-Doptimization=2 -Db_ndebug=false): meson test --suite asahi 158/158 PASS, agx_tests 1,233 passed, 1 skipped (NativeFMA.ExactDyadicOracle), 0 fail.
  • Thanks @DjDeveloperr for running the A18 Pro (AGX3B) exactness probe (7,340,032 outputs bit-exact, 0 CTS diffs across 1,673 FP16 cases, 0 faults) — any further AGX3B widening or unification is great follow-up material once #386 merges.
  • Updated the PR body with the new head SHA and host test counts; G17G/G17S and rebased-head G17C hardware rows remain under Still to run.

@DjDeveloperr

Copy link
Copy Markdown

Verified on Apple M5 Pro (J714s / G17S B1 / AGX3C) at exact head f65ddb868dcc (Linux 7.3.0-m5-slc1, MESA_SHADER_CACHE_DISABLE=1, ASAHI_M5_BRINGUP=1):

Check Result
meson test --suite asahi 157/157 PASS
gb-gaussian (gaussian-horizontal-small) checked PASS
dEQP-VK.glsl.builtin.precision.*fma* (full 10) 8 PASS, 0 FAIL (2 NS)
dEQP-VK.spirv_assembly.instruction.*float16* (593-case strided subset) 581 PASS, 0 FAIL (12 NS)
dEQP-VK.spirv_assembly.instruction.*(fma|fadd|fmul).*16* (36 cases) 16 PASS, 0 FAIL (20 NS)
/tmp/cts-mega12.txt (678 cases) 522 PASS, 0 FAIL (156 NS)
Kernel dmesg GPU/MMU faults 0

Ready to merge from G17S B1 side.

@DjDeveloperr
DjDeveloperr merged commit bc937ed into aurora-wip Nov 22, 2026
@DjDeveloperr

Copy link
Copy Markdown

Merged into aurora-wip at bc937edc540acbb8887b9886b975bd629cdc92f6 (tree 1f9ef8883ad3dc6b0dcad59336e5b4f65000f711).

Verification summary on f65ddb868dcc:

Assisted-by: LLM (Google:Gemini 4 Neon)

@RyanTheTide
RyanTheTide deleted the j716c/agx-g17c-half-ffma-operands branch November 27, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants