MSA 011110 |
00110 |
wt |
ws |
wd |
VEC 011110 |
6 |
5 |
5 |
5 |
5 |
6 |
BSEL.V |
Vector Bit Select | |
BSEL.V wd,ws,wt |
MSA |
Vector Bit Select |
Vector Bit Select
Vector mask-based copy bits from two source vectors selected by the bit mask value
wd = (ws AND NOT wd) OR (wt AND wd)
Selectively copy bits from the source v ectors ws and wt into destination vector wd based on the corresponding bit in wd: if 0 copies the bit from ws, if 1 copies the bit from wt.
The operands and results are bit vector values.
WR[wd] = (WR[ws] and not WR[wd]) or (WR[wt] and WR[wd])
Reserved Instruction Exception, MSA Disabled Exception.