vmrgew
Vector Merge Even Word
vmrgew vD, vA, vB
Merges even word elements from two vector registers into a third.
Details
The contents of word element 0 of VSR[VRA+32] are placed into word element 0 of VSR[VRT+32]. The contents of word element 0 of VSR[VRB+32] are placed into word element 1 of VSR[VRT+32]. The contents of word element 2 of VSR[VRA+32] are placed into word element 2 of VSR[VRT+32]. The contents of word element 2 of VSR[VRB+32] are placed into word element 3 of VSR[VRT+32].
Pseudocode Operation
Programming Note
vmrgew is treated as a Vector instruction in terms of resource availability.
Example
vmrgew vd, va, vb
Encoding
Binary Layout
4
0
vD
6
vA
11
vB
16
1932
Operands
-
vD
Target -
vA
Src A -
vB
Src B -
VRT
Target Vector Register -
VRA
Source Vector Register -
VRB
Source Vector Register