From a0ed154f4604d296ffc77e0489c4c0f2e23c94dc Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 13 Jul 2020 14:09:33 +0100 Subject: [PATCH] use sh field as-is in shift-immediate instructions --- openpower/isa/fixedshift.mdwn | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/openpower/isa/fixedshift.mdwn b/openpower/isa/fixedshift.mdwn index 7e74bfb68..d35b7d1f6 100644 --- a/openpower/isa/fixedshift.mdwn +++ b/openpower/isa/fixedshift.mdwn @@ -61,7 +61,7 @@ MD-Form Pseudo-code: - n <- sh[5] || sh[0:4] + n <- sh r <- ROTL64((RS), n) b <- mb[5] || mb[0:4] m <- MASK(b, 63) @@ -80,7 +80,7 @@ MD-Form Pseudo-code: - n <- sh[5] || sh[0:4] + n <- sh r <- ROTL64((RS), n) e <- me[5] || me[0:4] m <- MASK(0, e) @@ -99,7 +99,7 @@ MD-Form Pseudo-code: - n <- sh[5] || sh[0:4] + n <- sh r <- ROTL64((RS), n) b <- mb[5] || mb[0:4] m <- MASK(b, ¬n) @@ -156,7 +156,7 @@ MD-Form Pseudo-code: - n <- sh[5] || sh[0:4] + n <- sh r <- ROTL64((RS), n) b <- mb[5] || mb[0:4] m <- MASK(b, ¬n) @@ -304,7 +304,7 @@ XS-Form Pseudo-code: - n <- sh[5] || sh[0:4] + n <- sh r <- ROTL64((RS), 64-n) m <- MASK(n, 63) s <- (RS)[0] @@ -352,7 +352,7 @@ XS-Form Pseudo-code: - n <- sh[5] || sh[0:4] + n <- sh r <- ROTL64(EXTS64(RS[32:63]), n) m <- MASK(0, 63-n) RA <- r & m -- 2.30.2