|
MSA 011110 |
0001 |
df/n |
ws |
wd |
ELM 011001 |
|
6 |
4 |
6 |
5 |
5 |
6 |
SPLATI.df |
Immediate Element Splat | |
SPLATI.B wd,ws[n] |
MSA |
Immediate Element Splat |
SPLATI.H wd,ws[n] |
MSA |
Immediate Element Splat |
SPLATI.W wd,ws[n] |
MSA |
Immediate Element Splat |
SPLATI.D wd,ws[n] |
MSA |
Immediate Element Splat |
Immediate Element Splat
Immediate selected element replicated in all destination elements.
wd[i] = ws[n]
Replicate element n in vector ws to all elements in vector wd.
The operands and results are values in data format df.
No data-dependent exceptions are possible.
SPLATI.B
for i in 0 .. WRLEN/8-1
WR[wd]8i+7..8i = WR[ws]8n+7..8n
endfor
SPLATI.H
for i in 0 .. WRLEN/16-1
WR[wd]16i+15..16i = WR[ws]16n+15..16n
endfor
SPLATI.W
for i in 0 .. WRLEN/32-1
WR[wd]32i+31..32i = WR[ws]32n+31..32n
endfor
SPLATI.D
for i in 0 .. WRLEN/64-1
WR[wd]64i+63..64i = WR[ws]64n+63..64n
endfor
Reserved Instruction Exception, MSA Disabled Exception.