X-Form
-* lbzupsx RT,RA,RB
+* lbzupsx RT,RA,RB,SH
Pseudo-code:
- EA <- (RA)
+ EA <- (RA)<<(SH+1)
RT <- ([0] * (XLEN-8)) || MEM(EA, 1)
RA <- (RA) + (RB)
Description:
- Let the effective address (EA) be register RA.
+ Let the effective address (EA) be the contents of
+ register RA shifted by (SH+1).
The byte in storage addressed by EA is loaded into RT[56:63].
RT[0:55] are set to 0.
X-Form
-* lhzupsx RT,RA,RB
+* lhzupsx RT,RA,RB,SH
Pseudo-code:
- EA <- (RA)
+ EA <- (RA)<<(SH+1)
RT <- ([0] * (XLEN-16)) || MEM(EA, 2)
RA <- (RA) + (RB)
Description:
- Let the effective address (EA) be register RA.
+ Let the effective address (EA) be the contents of
+ register RA shifted by (SH+1).
+
The halfword in storage addressed by EA is loaded into RT[48:63].
RT[0:47] are set to 0.
X-Form
-* lhaupsx RT,RA,RB
+* lhaupsx RT,RA,RB,SH
Pseudo-code:
- EA <- (RA)
+ EA <- (RA)<<(SH+1)
RT <- EXTS(MEM(EA, 2))
RA <- (RA) + (RB)
Description:
- Let the effective address (EA) be the register RA.
+ Let the effective address (EA) be the contents of
+ register RA shifted by (SH+1).
The halfword in storage addressed by EA is loaded into RT[48:63].
RT[0:47] are filled with a copy of bit 0 of the loaded halfword.
X-Form
-* lwzupsx RT,RA,RB
+* lwzupsx RT,RA,RB,SH
Pseudo-code:
- EA <- (RA)
+ EA <- (RA)<<(SH+1)
RT <- [0] * 32 || MEM(EA, 4)
RA <- (RA) + (RB)
Description:
- Let the effective address (EA) be the register RA.
+ Let the effective address (EA) be the contents of
+ register RA shifted by (SH+1).
The halfword in storage addressed by EA is loaded into RT[48:63].
RT[0:47] are filled with a copy of bit 0 of the loaded halfword.
X-Form
-* lwaupsx RT,RA,RB
+* lwaupsx RT,RA,RB.SH
Pseudo-code:
- EA <- (RA)
+ EA <- (RA)<<(SH+1)
RT <- EXTS(MEM(EA, 4))
RA <- (RA) + (RB)
Description:
- Let the effective address (EA) be the register RA.
+ Let the effective address (EA) be the contents of
+ register RA shifted by (SH+1).
The word in storage addressed by EA is loaded into RT[32:63].
RT[0:31] are filled with a copy of bit 0 of the loaded word.
X-Form
-* ldupsx RT,RA,RB
+* ldupsx RT,RA,RB,SH
Pseudo-code:
- EA <- (RA)
+ EA <- (RA)<<(SH+1)
RT <- MEM(EA, 8)
RA <- (RA) + (RB)
Description:
- Let the effective address (EA) be the register RA.
+ Let the effective address (EA) be the contents of
+ register RA shifted by (SH+1).
The doubleword in storage addressed by EA is loaded into RT.