From 1b001048a6779606561bdbac3e2b2633cf3181b7 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Wed, 22 Mar 2023 14:45:41 -0700 Subject: [PATCH] rewrap text to save lines --- openpower/sv/rfc/ls006.mdwn | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/openpower/sv/rfc/ls006.mdwn b/openpower/sv/rfc/ls006.mdwn index 3531cde82..ca5bacd97 100644 --- a/openpower/sv/rfc/ls006.mdwn +++ b/openpower/sv/rfc/ls006.mdwn @@ -501,12 +501,10 @@ Section 7.1 of the ECMAScript / JavaScript result <- si64_CONVERT_FROM_BFP(range_max) default: # JavaScript semantics # CVM = 6, 7 are illegal instructions - - # this works because the largest type we try to - # convert from has 53 significand bits, and the - # largest type we try to convert to has 64 bits, - # and the sum of those is strictly less than the - # 128 bits of the intermediate result. + # this works because the largest type we try to convert from has + # 53 significand bits, and the largest type we try to convert to + # has 64 bits, and the sum of those is strictly less than the 128 + # bits of the intermediate result. limit <- bfp_CONVERT_FROM_UI128([1] * 128) if IsInf(rnd) or IsNaN(rnd) then result <- [0] * 64 @@ -550,9 +548,7 @@ Section 7.1 of the ECMAScript / JavaScript Convert from 32/64-bit float in FRB to a unsigned/signed 32/64-bit integer in RT, with the conversion overflow/rounding semantics following the chosen `CVM` value, following the usual 32-bit float in 64-bit float -format. - -`FPSCR` is modified and exceptions are raised as usual. +format. `FPSCR` is modified and exceptions are raised as usual. Both of these instructions have an Rc=1 mode which sets CR0 in the normal way for any instructions producing a GPR result. Additionally, when OE=1, -- 2.30.2