From 3c85cad79f3a95555e27717dd2d57823153206cf Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 12 Jul 2020 13:10:53 +0100 Subject: [PATCH] add first version fixedldstcache instruction pseudocodeg --- openpower/isa/fixedldstcache.mdwn | 128 ++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 openpower/isa/fixedldstcache.mdwn diff --git a/openpower/isa/fixedldstcache.mdwn b/openpower/isa/fixedldstcache.mdwn new file mode 100644 index 000000000..0a34d582b --- /dev/null +++ b/openpower/isa/fixedldstcache.mdwn @@ -0,0 +1,128 @@ +# Load Byte and Zero Caching Inhibited Indexed + +X-Form + +* lbzcix RT,RA,RB + +Pseudo-code: + + b <- (RA|0) + EA <- b + (RB) + RT <- [0] * 56 || MEM(EA, 1) + +Special Registers Altered: + + None + +# Load Halfword and Zero Caching Inhibited Indexed + +X-Form + +* lhzcix RT,RA,RB + +Pseudo-code: + + b <- (RA|0) + EA <- b + (RB) + RT <- [0] * 48 || MEM(EA, 2) + +Special Registers Altered: + + None + +# Load Word and Zero Caching Inhibited Indexed + +X-Form + +* lwzcix RT,RA,RB + +Pseudo-code: + + b <- (RA|0) + EA <- b + (RB) + RT <- [0] * 32 || MEM(EA, 4) + +Special Registers Altered: + + None + +# Load Doubleword Caching Inhibited Indexed + +X-Form + +* ldcix RT,RA,RB + +Pseudo-code: + + b <- (RA|0) + EA <- b + (RB) + RT <- MEM(EA, 8) + +Special Registers Altered: + + None + +# Store Byte Caching Inhibited Indexed + +X-Form + +* stbcix RS,RA,RB + +Pseudo-code: + + b <- (RA|0) + EA <- b + (RB) + MEM(EA, 1) <- (RS)[56:63] + +Special Registers Altered: + + None + +# Store Halfword Caching Inhibited Indexed + +X-Form + +* sthcix RS,RA,RB + +Pseudo-code: + + b <- (RA|0) + EA <- b + (RB) + MEM(EA, 2) <- (RS)[48:63] + +Special Registers Altered: + + None + +# Store Word Caching Inhibited Indexed + +X-Form + +* stwcix RS,RA,RB + +Pseudo-code: + + b <- (RA|0) + EA <- b + (RB) + MEM(EA, 4) <- (RS)[32:63] + +Special Registers Altered: + + None + +# Store Doubleword Caching Inhibited Indexed + +X-Form + +* stdcix RS,RA,RB + +Pseudo-code: + + b <- (RA|0) + EA <- b + (RB) + MEM(EA, 8) <- (RS) + +Special Registers Altered: + + None + -- 2.30.2