Does SH2ADD.UW access memory?
No. It only reads and writes integer registers; any memory access must be performed by a separate load or store instruction.
Shift unsigned word left by 2 and add (RV64)
Zero-extends lower 32 bits of rs1 as unsigned word, shifts left by 2, adds rs2. For unsigned word-indexed array address generation. Part of Zba.
Starts with machine-code field decoding, then shows operand reads, instruction-specific execution, and ISA-visible state update.
The machine code is split by the current instruction format; the animation starts from encoding/decode.
This animation shows ISA-visible decode and state changes, not any specific CPU pipeline, cache, prediction, or timing implementation.
SH2ADD.UW is RV64 Zba only: it zero-extends rs1[31:0], shifts it left by 2, then adds rs2.
Understand this scenario with real code like «sh2add.uw x10, x11, x12 ; x10 = x12 + (zero_ext(x11[31:0]) << 2)».
No. It only reads and writes integer registers; any memory access must be performed by a separate load or store instruction.
rs2 and the shifted, zero-extended rs1[31:0] are added at XLEN width, and the XLEN-wide result is written to rd.