From: Luke Kenneth Casson Leighton Date: Sat, 22 Aug 2020 12:07:14 +0000 (+0100) Subject: adjust pseudo-code to use (RA|0) for addis X-Git-Tag: convert-csv-opcode-to-binary~2219 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27ae60b21fb1bf379aef2cb1b9e55b4456c0fe60;p=libreriscv.git adjust pseudo-code to use (RA|0) for addis --- diff --git a/openpower/isa/fixedarith.mdwn b/openpower/isa/fixedarith.mdwn index 6b4259152..aa3c0fd83 100644 --- a/openpower/isa/fixedarith.mdwn +++ b/openpower/isa/fixedarith.mdwn @@ -6,8 +6,7 @@ D-Form Pseudo-code: - if RA = 0 then RT <- EXTS(SI) - else RT <- (RA) + EXTS(SI) + RT <- (RA|0) + EXTS(SI) Special Registers Altered: @@ -21,8 +20,7 @@ D-Form Pseudo-code: - if RA = 0 then RT <- EXTS(SI || [0]*16) - else RT <- (RA) + EXTS(SI || [0]*16) + RT <- (RA|0) + EXTS(SI || [0]*16) Special Registers Altered: