psq_st

Paired Single Quantized Store

psq_st FRS, D(RA), W, I

Stores a paired single to memory (Embedded/Legacy).

Details

Stores a pair of single-precision floating-point values from an FPR to memory, with optional quantization/scaling applied. The W field controls element width, and the I field specifies the scale factor applied during store. This is a legacy VMX/AltiVec instruction primarily found on embedded PowerPC implementations.

Pseudocode Operation

EA ← (RA = 0 ? 0 : GPR[RA]) + D
data ← quantize(FPR[FRS], width W, scale I)
[EA] ← data

Example

psq_st f1, 0(r4), 0, 0

Encoding

Binary Layout
60
0
FRS
6
RA
11
W
16
I
21
7
31
 
Format X-form
Opcode 0xF0000007
Extension VMX (AltiVec)

Operands

  • FRS
    Source
  • D
    Disp
  • RA
    Base
  • W
    Width
  • I
    Scale