Skip to content

Commit

Permalink
Fix NOTE about ARM FMA mnemonics (#1700)
Browse files Browse the repository at this point in the history
  • Loading branch information
aswaterman authored Oct 28, 2024
1 parent e24a456 commit 34b6e75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/f-st-ext.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,9 @@ product as the RISC-V instructions do, so the naming scheme was more
rational at the time. The two definitions differ with respect to
signed-zero results. The RISC-V definition matches the behavior of the
x86 and ARM fused multiply-add instructions, but unfortunately the
RISC-V FNMSUB and FNMADD instruction names are swapped compared to x86
and ARM.
RISC-V FNMSUB and FNMADD instruction names are swapped as compared to x86,
whereas the RISC-V FMSUB and FNMSUB instruction names are swapped as
compared to ARM.
====

include::images/wavedrom/spfloat2.edn[]
Expand Down

0 comments on commit 34b6e75

Please sign in to comment.