From 82d74678c46aec699403cfad5a94860cd7962d1e Mon Sep 17 00:00:00 2001 From: lkcl Date: Wed, 19 Apr 2023 19:21:30 +0100 Subject: [PATCH] --- openpower/sv/rfc/ls013.mdwn | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/openpower/sv/rfc/ls013.mdwn b/openpower/sv/rfc/ls013.mdwn index 5d53b19b5..aa00487fe 100644 --- a/openpower/sv/rfc/ls013.mdwn +++ b/openpower/sv/rfc/ls013.mdwn @@ -142,17 +142,24 @@ Note (3): TODO: icr if IEEE 754-2008 has min/maxMagNum like IEEE 754-2019's \newpage{} -## Floating Minimum/Maximum X-Form +## Floating Minimum/Maximum + +A-Form + + +* fminmax FRT, FRA, FRB, FMM +* fminmax. FRT, FRA, FRB, FMM ``` - fminmax FRT, FRA, FRB, FMM + |0 |6 |11 |16 |21 |26 |31 | + | PO | FRT | FRA | FRB | FMM[0:3] / | XO | Rc | ``` +Special Registers altered: + ``` - |0 |6 |11 |16 |21 |24 |31 | - | PO | FRT | FRA | FRB | FMM[0:2] | XO | FMM[3] | + CR1 (if Rc=1) ``` - Compute the minimum/maximum of FRA and FRB, according to FMM, and store the result in FRT. @@ -163,15 +170,21 @@ Assembly Aliases: see ## Floating Minimum/Maximum Single X-Form +* fminmaxs FRT, FRA, FRB, FMM +* fminmaxs. FRT, FRA, FRB, FMM + ``` - fminmaxs FRT, FRA, FRB, FMM + |0 |6 |11 |16 |21 |26 |31 | + | PO | FRT | FRA | FRB | FMM[0:3] / | XO | Rc | ``` +Special Registers altered: + ``` - |0 |6 |11 |16 |21 |24 |31 | - | PO | FRT | FRA | FRB | FMM[0:2] | XO | FMM[3] | + CR1 (if Rc=1) ``` + Compute the minimum/maximum of FRA and FRB, according to FMM, and store the result in FRT. -- 2.30.2