From d135c23ebcdb41587ac2efce5ff8f11ae29d5e25 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 16 Jun 2021 13:14:07 +0100 Subject: [PATCH] fnmadds and fnmsubs were inverted --- openpower/isa/fparith.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openpower/isa/fparith.mdwn b/openpower/isa/fparith.mdwn index a6a5e91a..d902a074 100644 --- a/openpower/isa/fparith.mdwn +++ b/openpower/isa/fparith.mdwn @@ -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: -- 2.30.2