1 <!-- This defines DRAFT instructions described in SV -->
3 <!-- This defines instructions that store from a register to RAM -->
4 <!-- Effective Address is always RA, and the usual EA is stored late in RA -->
6 <!-- https://bugs.libre-soc.org/show_bug.cgi?id=1055 -->
7 <!-- https://libre-soc.org/openpower/sv/rfc/ls004/ -->
9 # Store Byte with Post-Update Indexed
19 MEM(ea, 1) <- (RS)[XLEN-8:XLEN-1]
24 Let the effective address (EA) be the sum (RA)+ (RB).
26 (RS)[56:63] are stored into the byte in storage addressed by EA.
28 EA is placed into register RA.
30 If RA=0, the instruction form is invalid.
32 Special Registers Altered:
36 # Store Halfword with Post-Update Indexed
46 MEM(ea, 2) <- (RS)[XLEN-16:XLEN-1]
51 Let the effective address (EA) be the sum (RA)+ (RB).
53 (RS)[56:63] are stored into the byte in storage addressed by EA.
55 EA is placed into register RA.
57 If RA=0, the instruction form is invalid
59 Special Registers Altered:
63 # Store Word with Post-Update Indexed
73 MEM(ea, 4) <- (RS)[XLEN-32:XLEN-1]
78 Let the effective address (EA) be the sum (RA)+ (RB).
80 (RS)[32:63] are stored into the word in storage addressed by RA.
82 EA is placed into register RA.
84 If RA=0, the instruction form is invalid.
86 Special Registers Altered:
90 # Store Doubleword with Post-Update Indexed
105 Let the effective address (EA) be the sum (RA)+ (RB).
107 (RS) is stored into the doubleword in storage addressed by RA.
109 EA is placed into register RA.
111 If RA=0, the instruction form is invalid.
113 Special Registers Altered: