From: Luke Kenneth Casson Leighton Date: Sat, 11 Dec 2021 15:19:48 +0000 (+0000) Subject: remove ROTL64(1, idx), just use TLI[7-idx] it is shorter and readable X-Git-Tag: sv_maxu_works-initial~637 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4aa5e38ad60cfb55c69a5f00e9fbed44b8e4b392;p=openpower-isa.git remove ROTL64(1, idx), just use TLI[7-idx] it is shorter and readable --- diff --git a/openpower/isa/bitmanip.mdwn b/openpower/isa/bitmanip.mdwn index 46cddc44..f428bd1b 100644 --- a/openpower/isa/bitmanip.mdwn +++ b/openpower/isa/bitmanip.mdwn @@ -12,7 +12,7 @@ Pseudo-code: result <- [0] * XLEN do i = 0 to XLEN - 1 idx <- (RT)[i] || (RA)[i] || (RB)[i] - result[i] <- (TLI & ROTL64(1, idx)) != 0 + result[i] <- TLI[7-idx] RT <- result Special Registers Altered: