fnmadds and fnmsubs were inverted
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 16 Jun 2021 12:14:07 +0000 (13:14 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 16 Jun 2021 12:14:07 +0000 (13:14 +0100)
openpower/isa/fparith.mdwn

index a6a5e91a487504d11aab76e3bf1e807c9a8bb60c..d902a07440aea34cc37525ed360ca04ec01d5365 100644 (file)
@@ -191,7 +191,7 @@ A-Form
 
 Pseudo-code:
 
-    FRT <- FPMULADD32(FRA, FRC, FRB, -1, 1)
+    FRT <- FPMULADD32(FRA, FRC, FRB, -1, -1)
 
 Special Registers Altered:
 
@@ -209,7 +209,7 @@ A-Form
 
 Pseudo-code:
 
-    FRT <- FPMULADD32(FRA, FRC, FRB, -1, -1)
+    FRT <- FPMULADD32(FRA, FRC, FRB, -1, 1)
 
 Special Registers Altered: