fmrgew
Floating Merge Even Word
fmrgew FRT,FRA,FRB
Merges the even words from two floating-point registers into a third.
Encoding
Binary Layout
0
0:5
FRT
6:10
FRA
11:15
FRB
16:31
Operands
-
FRT
Target Floating-Point Register -
FRA
Source Floating-Point Register -
FRB
Source Floating-Point Register
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
The contents of word element 0 of FPR[FRA] are placed into word element 0 of FPR[FRT], and the contents of word element 0 of FPR[FRB] are placed into word element 1 of FPR[FRT].
Operation
if MSR.FP=0 then
FP_Unavailable()
FPR[FRT].word[0] ← FPR[FRA].word[0]
FPR[FRT].word[1] ← FPR[FRB].word[0]
Programming Note
fmrgew and fmrgow are provided to support direct move operations in 32-bit mode.