From 79a854447a76da9e5c59b7b665c9903d42ee8e02 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 28 Jul 2022 02:49:17 -0700 Subject: [PATCH] fishmv: change to use actual pseudocode in openpower-isa.git --- openpower/sv/int_fp_mv.mdwn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openpower/sv/int_fp_mv.mdwn b/openpower/sv/int_fp_mv.mdwn index e5ea9c035..c3e31c8f6 100644 --- a/openpower/sv/int_fp_mv.mdwn +++ b/openpower/sv/int_fp_mv.mdwn @@ -195,9 +195,9 @@ as can be seen in the pseudocode below. Pseudocode: - fp32 = DOUBLE2SINGLE(FRS) # convert to FP32 - n = fp32[0:15] || d0 || d1 || d2 # replace mantissa LSBs - FRS = DOUBLE(n) # convert back to FP64 + fp32 <- SINGLE((FRS)) # convert to FP32 + fp32[16:31] <- d0 || d1 || d2 # replace LSB half + FRS <- DOUBLE(fp32) # convert back to FP64 **This instruction performs a Read-Modify-Write.** *FRS is read, the additional 16 bit immediate inserted, and the result also written to FRS* -- 2.30.2