From 27ae60b21fb1bf379aef2cb1b9e55b4456c0fe60 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 22 Aug 2020 13:07:14 +0100 Subject: [PATCH] adjust pseudo-code to use (RA|0) for addis --- openpower/isa/fixedarith.mdwn | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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: -- 2.30.2