From 5b220c4bcf0da2a6a2ec8eaff6727966d25dd956 Mon Sep 17 00:00:00 2001 From: Michael Nolan Date: Fri, 15 May 2020 10:17:46 -0400 Subject: [PATCH] Correct pseudocode for prtyw and prtyd --- openpower/isa/fixedlogical.mdwn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openpower/isa/fixedlogical.mdwn b/openpower/isa/fixedlogical.mdwn index 98f08500b..07c1a105c 100644 --- a/openpower/isa/fixedlogical.mdwn +++ b/openpower/isa/fixedlogical.mdwn @@ -298,7 +298,7 @@ X-Form s <- 0 do i = 0 to 7 - s <- s ^ (RS)[i%8+7] + s <- s ^ (RS)[i*8+7] RA <- [0] * 63 || s Special Registers Altered: @@ -314,9 +314,9 @@ X-Form s <- 0 t <- 0 do i = 0 to 3 - s <- s ^ (RS)[i%8+7] + s <- s ^ (RS)[i*8+7] do i = 4 to 7 - t <- t ^ (RS)[i%8+7] + t <- t ^ (RS)[i*8+7] RA[0:31] <- [0]*31 || s RA[32:63] <- [0]*31 || t -- 2.30.2