From c5ddb238638017bc5499f3655aa836f978ede752 Mon Sep 17 00:00:00 2001 From: Shriya Sharma Date: Thu, 19 Oct 2023 11:49:11 +0100 Subject: [PATCH] added sthsux instruction --- openpower/isa/fixedstoreshift.mdwn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openpower/isa/fixedstoreshift.mdwn b/openpower/isa/fixedstoreshift.mdwn index d38616c8..1f377cd1 100644 --- a/openpower/isa/fixedstoreshift.mdwn +++ b/openpower/isa/fixedstoreshift.mdwn @@ -84,15 +84,15 @@ Special Registers Altered: None -# Store Halfword with Update Indexed +# Store Halfword Shifted with Update Indexed X-Form -* sthux RS,RA,RB +* sthsux RS,RA,RB,SH Pseudo-code: - EA <- (RA) + (RB) + EA <- (RA) + (RB) << (SH+1) MEM(EA, 2) <- (RS)[XLEN-16:XLEN-1] RA <- EA -- 2.30.2