From 0a43abe68960962f419b68d0357ad4b4274a9b74 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 28 Sep 2022 21:00:10 +0100 Subject: [PATCH] new revision of dsld --- openpower/isa/svfixedarith.mdwn | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/openpower/isa/svfixedarith.mdwn b/openpower/isa/svfixedarith.mdwn index b44c4dba..c74c7c46 100644 --- a/openpower/isa/svfixedarith.mdwn +++ b/openpower/isa/svfixedarith.mdwn @@ -56,14 +56,12 @@ Z23-Form Pseudo-code: sh <- (RB) - src <- (RA) || (RT) - n <- sh[XLEN-7:XLEN-1] - r <- ROTL128(src, n) - if sh[XLEN-8] = 0 then - m <- MASK(0, XLEN*-1-n, XLEN*2) - else m <- [0]*XLEN*2 - r <- r & m - RA <- r[XLEN:XLEN*2-1] + hi <- (RT) + lo <- (RA) + n <- sh[58:63] + mask[0:63] <- MASK(0, 63 - n) + v[0:63] <- (hi & mask) | (lo & ¬mask) + RT <- ROTL64(v, n) Special Registers Altered: -- 2.30.2