From: lkcl Date: Wed, 23 Dec 2020 01:44:17 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~1017 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89aa1b205aa2c54968cdfa3093f12272139b7530;p=libreriscv.git --- diff --git a/openpower/isa/comparefixed.mdwn b/openpower/isa/comparefixed.mdwn index 5b77ff27b..ffa1b58b3 100644 --- a/openpower/isa/comparefixed.mdwn +++ b/openpower/isa/comparefixed.mdwn @@ -6,7 +6,7 @@ D-Form Pseudo-code: - if L = 0 then a <- EXTS((RA)[32:63]) + if L = 0 then a <- EXTS((RA)[32:63]) else a <- (RA) if a < EXTS(SI) then c <- 0b100 else if a > EXTS(SI) then c <- 0b010 @@ -26,7 +26,7 @@ X-Form Pseudo-code: if L = 0 then - a <- EXTS((RA)[32:63] ) + a <- EXTS((RA)[32:63]) b <- EXTS((RB)[32:63]) else a <- (RA) @@ -50,9 +50,9 @@ Pseudo-code: if L = 0 then a <- [0]*32 || (RA)[32:63] else a <- (RA) - if a u ( [0]*48 || UI) then c <- 0b010 - else c <- 0b001 + if a u ([0]*48 || UI) then c <- 0b010 + else c <- 0b001 CR[4*BF+32:4*BF+35] <- c || XER[SO] Special Registers Altered: