CHAPTER 2 VR4120A
Preliminary User’s Manual S15543EJ1V0UM 93
2.3.4.6 Store word instruction (SW rt, offset (base))
IF stage Same as the IF stage for the ADD instruction.
IT stage Same as the IT stage for the ADD instruction.
RF stage Same as the RF stage for the LW instruction.
EX stage Refer to the LW instruction for a calculation of the effective address. From the RF output latch,
the GPR[rt] is sent through the bypass multiplexer and into the main shifter, where the shifter
performs the byte-alignment operation for the operand. The results of the ALU are latched in
the output latches during
Φ
1. The shift operations are latched in the output latches during
Φ
2.
DC stage Refer to the LW instruction for a description of the cache access.
WB stage If there was a cache hit, the content of the store data output latch is written into the data cache
at the appropriate word location.
Note that all store instructions use the data cache for two consecutive PCycles. If the following
instruction requires use of the data cache, the pipeline is slipped for one PCycle to complete the
writing of an aligned store data.
Figure 2-18. SW Instruction Pipeline Activities (In MIPS III Instruction Mode)
IF1
Cycle
Phase
PCycle
PClock
IF2
Φ
2
Φ
1
Φ
2
Φ
1
Φ
2
Φ
1
Φ
2
Φ
1
Φ
2
Φ
1
RF1 RF2 EX1 EX2 DC1 DC2 WB1 WB2
ITLB
IDC
ITC
ICA
IDEC
DCWDTDSA
DVA
EXRF
DTLB DT