From: Luke Kenneth Casson Leighton Date: Fri, 14 May 2021 16:11:42 +0000 (+0100) Subject: add fpstore.mdwn X-Git-Tag: 0.0.3~54 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8ea5bee68f04dec225bcc4dfe2179118c81c799;p=openpower-isa.git add fpstore.mdwn --- diff --git a/openpower/isa/fpstore.mdwn b/openpower/isa/fpstore.mdwn new file mode 100644 index 00000000..d9596c2f --- /dev/null +++ b/openpower/isa/fpstore.mdwn @@ -0,0 +1,143 @@ + + + + +# Store Floating-Point Single + +D-Form + +* stfs FRS,D(RA) + +Pseudo-code: + + EA <- (RA|0) + EXTS(D) + MEM(EA, 4)<- SINGLE( (FRS) ) + +Special Registers Altered: + + None + +# Store Floating-Point Single Indexed + +X-Form + +* stfsx FRS,RA,RB + +Pseudo-code: + + EA <- (RA|0) + (RB) + MEM(EA, 4)<- SINGLE( (FRS) ) + +Special Registers Altered: + + None + +# Store Floating-Point Single with Update + +D-Form + +* stfsu FRS,D(RA) + +Pseudo-code: + + EA <- (RA) + EXTS(D) + MEM(EA, 4)<- SINGLE( (FRS) ) + RA <- EA + +Special Registers Altered: + + None + +# Store Floating-Point Single with Update Indexed + +X-Form + +* stfsux FRS,RA,RB + +Pseudo-code: + + EA <- (RA) + (RB) + MEM(EA, 4)<- SINGLE( (FRS) ) + RA <- EA + +Special Registers Altered: + + None + +# Store Floating-Point Double + +D-Form + +* stfd FRS,D(RA) + +Pseudo-code: + + EA <- (RA|0) + EXTS(D) + MEM(EA, 8)<- (FRS) + +Special Registers Altered: + + None + +# Store Floating-Point Double Indexed + +X-Form + +* stfdx FRS,RA,RB + +Pseudo-code: + + EA <- (RA|0) + (RB) + MEM(EA, 8)<- (FRS) + +Special Registers Altered: + + None + +# Store Floating-Point Double with Update + +D-Form + +* stfdu FRS,D(RA) + +Pseudo-code: + + EA <- (RA) + EXTS(D) + MEM(EA, 8)<- (FRS) + RA <- EA + +Special Registers Altered: + + None + +# Store Floating-Point Double with Update Indexed + +X-Form + +* stfdux FRS,RA,RB + +Pseudo-code: + + EA <- (RA) + (RB) + MEM(EA, 8)<- (FRS) + RA <- EA + +Special Registers Altered: + + None + +# Store Floating-Point as Integer Word Indexed + +X-Form + +* stfiwx FRS,RA,RB + +Pseudo-code: + + b <- (RA|0) + EA <- b + (RB) + MEM(EA, 8)<- (FRS)[32:63] + +Special Registers Altered: + + None