From c9a47142ea8fa8efa7441926411f65bcfe858916 Mon Sep 17 00:00:00 2001 From: Shriya Sharma Date: Thu, 19 Oct 2023 11:18:34 +0100 Subject: [PATCH] added lhzsux instruction --- openpower/isa/fixedloadshift.mdwn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openpower/isa/fixedloadshift.mdwn b/openpower/isa/fixedloadshift.mdwn index 45827e77..b401e12c 100644 --- a/openpower/isa/fixedloadshift.mdwn +++ b/openpower/isa/fixedloadshift.mdwn @@ -67,22 +67,22 @@ X-Form Pseudo-code: b <- (RA|0) - EA <- b + (RB) (sm+1) + EA <- b + (RB) << (sm+1) RT <- ([0] * (XLEN-16)) || MEM(EA, 2) Special Registers Altered: None -# Load Halfword and Zero with Update Indexed +# Load Halfword and Zero Shifted with Update Indexed X-Form -* lhzux RT,RA,RB +* lhzsux RT,RA,RB,sm Pseudo-code: - EA <- (RA) + (RB) + EA <- (RA) + (RB) << (sm+1) RT <- ([0] * (XLEN-16)) || MEM(EA, 2) RA <- EA -- 2.30.2