ps_sub
Paired Single Subtract
ps_sub FRT, FRA, FRB
Subtracts two paired singles.
Details
Subtracts two pairs of single-precision floating-point values element-wise, storing the result in FRT. Each of the two single-precision elements in FRB is subtracted from FRA independently. May set FPSCR status flags if exceptions occur.
Pseudocode Operation
FPR[FRT].upper ← FPR[FRA].upper - FPR[FRB].upper
FPR[FRT].lower ← FPR[FRA].lower - FPR[FRB].lower
Example
ps_sub f1, f2, f3
Encoding
Binary Layout
60
0
FRT
6
FRA
11
FRB
16
20
21
Operands
-
FRT
Target -
FRA
Src A -
FRB
Src B