Encoding:

MSA

011110

0101

df/n

ws

wd

ELM

011001

6

4

6

5

5

6

Format:

INSVE.df 

Element Insert Element

INSVE.B wd[n],ws[0]

MSA

Element Insert Element

INSVE.H wd[n],ws[0]

MSA

Element Insert Element

INSVE.W wd[n],ws[0]

MSA

Element Insert Element

INSVE.D wd[n],ws[0]

MSA

Element Insert Element

Purpose:

Element Insert Element

Element value copied to vector element.

Description:

wd[n] = ws[0]

Set element n in vector wd to element 0 in vector ws value. All other elements in vector wd are unchanged.

The operands and results are values in data format df.

Restrictions:

No data-dependent exceptions are possible.

Operation:

INSVE.B
   WR[wd]8n+7..8n = WR[ws]7..0
INSVE.H
   WR[wd]16n+15..16n = WR[ws]15..0
INSVE.W
   WR[wd]32n+31..32n = WR[ws]31..0
INSVE.D
   WR[wd]64n+63..64n = WR[ws]63..0

Exceptions:

Reserved Instruction Exception, MSA Disabled Exception.