psq_st

Paired Single Quantized Store

psq_st FRS, D(RA), W, I

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

Encoding

Binary Layout
60
0:5
FRS
6:10
RA
11:15
W
16
I
17:19
D
20:31
 
Format X-form
Opcode 0xF0000000

Operands

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

Example

psq_st f1, 0(r4), 0, 0

Reference

Not in Power ISA v3.1C

Description

Not in Power ISA v3.1C: this is a PowerPC paired-single instruction (binutils' PPCPS group), and the encoding shown is binutils' (opcodes/ppc-opc.c), not the manual's. 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.

Operation

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