From bd5c632a3e1e889f0778fb1406dbce7637743d37 Mon Sep 17 00:00:00 2001 From: lkcl Date: Fri, 28 Apr 2023 19:11:20 +0100 Subject: [PATCH] --- openpower/sv/twin_butterfly.mdwn | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/openpower/sv/twin_butterfly.mdwn b/openpower/sv/twin_butterfly.mdwn index deaf80d29..9933380e2 100644 --- a/openpower/sv/twin_butterfly.mdwn +++ b/openpower/sv/twin_butterfly.mdwn @@ -110,3 +110,27 @@ Special Registers Altered: VXSNAN VXISI VXIMZ CR1 (if Rc=1) ``` + +# [DRAFT] Floating Multiply-Add FFT [Single] + +A-Form + +* ffmadds FRT,FRA,FRB (Rc=0) +* ffmadds. FRT,FRA,FRB (Rc=1) + +Pseudo-code: + +``` + tmp <- FRT + FRT <- FPMULADD32(tmp, FRA, FRB, 1, 1) + FRS <- FPMULADD32(tmp, FRA, FRB, -1, 1) +``` + +Special Registers Altered: + +``` + FPRF FR FI + FX OX UX XX + VXSNAN VXISI VXIMZ + CR1 (if Rc=1) +``` -- 2.30.2