(no commit message)
authorlkcl <lkcl@web>
Sat, 29 Apr 2023 14:24:53 +0000 (15:24 +0100)
committerIkiWiki <ikiwiki.info>
Sat, 29 Apr 2023 14:24:53 +0000 (15:24 +0100)
openpower/sv/twin_butterfly.mdwn

index dc141055c76c4c75c1c52f629a592cddf75a9d91..8d11350bda8af9d73f4ee5ceb466872fc35c282b 100644 (file)
@@ -215,3 +215,95 @@ Special Registers Altered:
     FX OX UX XX
     VXSNAN VXISI VXIMZ
 ```
+
+## [DRAFT] Floating Add FFT/DCT [Single]
+
+A-Form
+
+* ffadds FRT,FRA,FRB (Rc=0)
+* ffadds. FRT,FRA,FRB (Rc=1)
+
+Pseudo-code:
+
+```
+    FRT <- FPADD32(FRA, FRB)
+    FRS <- FPSUB32(FRB, FRA)
+```
+
+Special Registers Altered:
+
+```
+    FPRF FR FI
+    FX OX UX XX
+    VXSNAN VXISI
+    CR1          (if Rc=1)
+```
+
+## [DRAFT] Floating Add FFT/DCT [Double]
+
+A-Form
+
+* ffadd FRT,FRA,FRB (Rc=0)
+* ffadd. FRT,FRA,FRB (Rc=1)
+
+Pseudo-code:
+
+```
+    FRT <- FPADD64(FRA, FRB)
+    FRS <- FPSUB64(FRB, FRA)
+```
+
+Special Registers Altered:
+
+```
+    FPRF FR FI
+    FX OX UX XX
+    VXSNAN VXISI
+    CR1          (if Rc=1)
+```
+
+## [DRAFT] Floating Subtract FFT/DCT [Single]
+
+A-Form
+
+* ffsubs FRT,FRA,FRB (Rc=0)
+* ffsubs. FRT,FRA,FRB (Rc=1)
+
+Pseudo-code:
+
+```
+    FRT <- FPSUB32(FRB, FRA)
+    FRS <- FPADD32(FRA, FRB)
+```
+
+Special Registers Altered:
+
+```
+    FPRF FR FI
+    FX OX UX XX
+    VXSNAN VXISI
+    CR1          (if Rc=1)
+```
+
+## [DRAFT] Floating Subtract FFT/DCT [Double]
+
+A-Form
+
+* ffsub FRT,FRA,FRB (Rc=0)
+* ffsub. FRT,FRA,FRB (Rc=1)
+
+Pseudo-code:
+
+```
+    FRT <- FPSUB64(FRB, FRA)
+    FRS <- FPADD64(FRA, FRB)
+```
+
+Special Registers Altered:
+
+```
+    FPRF FR FI
+    FX OX UX XX
+    VXSNAN VXISI
+    CR1          (if Rc=1)
+```