psq_l

Paired Single Quantized Load

psq_l FRT, D(RA), W, I

Loads a paired single from memory (Embedded/Legacy).

Encoding

Binary Layout
56
0:5
FRT
6:10
RA
11:15
W
16
I
17:19
D
20:31
 
Format X-form
Opcode 0xE0000000

Operands

  • FRT
    Target
  • D
    Disp
  • RA
    Base
  • W
    Width
  • I
    Scale

Example

psq_l 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. Loads a pair of single-precision floating-point values from memory into an FPR, with optional quantization/scaling applied. The W field controls element width, and the I field specifies the scale factor applied during load.

Operation

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