From: Jacob Lifshay Date: Thu, 28 Jul 2022 09:49:17 +0000 (-0700) Subject: fishmv: change to use actual pseudocode in openpower-isa.git X-Git-Tag: opf_rfc_ls005_v1~982 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79a854447a76da9e5c59b7b665c9903d42ee8e02;p=libreriscv.git fishmv: change to use actual pseudocode in openpower-isa.git --- 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*