stxvh8x

Store VSX Vector Halfword*8 Indexed

stxvh8x XS,RA,RB

Stores a vector of 8 halfword elements from VSR[X] into memory using indexed addressing.

Details

Stores a 128-bit VSX vector containing 8 halfword elements to memory using indexed addressing. The effective address is computed as (RA|0) + RB. This is a VSX extension instruction that does not affect condition registers or status flags.

Pseudocode Operation

EA ← (RA|0) + RB
[EA] ← VSR[XS]

Programming Note

stxvd2x, stxvw4x, stxvh8x, stxvb16x, and stxvx exhibit identical behavior in Big-Endian mode.

Example

stxvh8x vs1, r4, r5

Encoding

Binary Layout
0
0
S
1
RA
6
RB
11
SX
21
 
Format X-form
Opcode 0x7C000758
Extension VSX
Registers Altered MSR

Operands

  • XS
    VSX Register Index
  • RA
    Source General Purpose Register (Base Address)
  • RB
    Source General Purpose Register (Index)