Skip to content

docs: record the fused assumption of v_fma_legacy_f32 in TechnicalDebt - #671

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
NahuelGenchi:docs/fma-legacy-fused-assumption
Oct 5, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
NahuelGenchi:docs/fma-legacy-fused-assumption

Conversation

@NahuelGenchi

Copy link
Copy Markdown
Contributor

What

Follow-up to #595, as @oneandonlydean suggested there. VOP3 0x140 is translated as a fused v_fma_legacy_f32, but LLVM decodes that encoding as v_mad_legacy_f32 for gfx1013, and the measured VOP2 0x06 rounds its product before the add. I don't have RDNA hardware to measure a row with an inexact product, so this records the assumption in TechnicalDebt instead of changing the behaviour.

Tested

Docs only, no code change.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes

@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
#533 docs/dev/TechnicalDebt.md L98

@oneandonlydean
oneandonlydean merged commit cd79926 into boykopovar:main Oct 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants