From da20bbfe76599664e8db55ef28bf077a6f1955c2 Mon Sep 17 00:00:00 2001 From: lkcl Date: Sun, 22 May 2022 15:41:45 +0100 Subject: [PATCH] --- openpower/sv/int_fp_mv.mdwn | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/openpower/sv/int_fp_mv.mdwn b/openpower/sv/int_fp_mv.mdwn index 6bd2a8a86..8dd3e46d6 100644 --- a/openpower/sv/int_fp_mv.mdwn +++ b/openpower/sv/int_fp_mv.mdwn @@ -227,13 +227,23 @@ allowing clearing FPRs. The above fits reasonably well with Minor 19 and follows the pattern shown by `addpcis`, which uses an entire column of Minor 19 -XO. 15 bits of FI fit into bits 11 to 25, +XO. 15 bits of FI fit into bits 11 to 25, the top bit FI0 (MSB0 numbered 0) makes 16. bf16 = FI0 || FI fp32 = bf16 || [0]*16 FRT = Single_to_Double(fp32) +Also worth noting, `fmvis` fits well with DX-Form: + +| 0-5 | 6-10 | 11-15 | 16-25 | 26-30 | 31 | +|--------|------|-------|-------|-------|-----| +| Major | FRT | d0 | d1 | XO | d2 | + + bf16 = d2 || d1 || d0 + fp32 = bf16 || [0]*16 + FRT = Single_to_Double(fp32) + ## FPR to GPR conversions
-- 2.30.2