MSA 011110 |
011 |
df/m |
ws |
wd |
BIT 001001 |
6 |
3 |
7 |
5 |
5 |
6 |
BCLRI.df |
Immediate Bit Clear | |
BCLRI.B wd,ws,m |
MSA |
Immediate Bit Clear |
BCLRI.H wd,ws,m |
MSA |
Immediate Bit Clear |
BCLRI.W wd,ws,m |
MSA |
Immediate Bit Clear |
BCLRI.D wd,ws,m |
MSA |
Immediate Bit Clear |
Immediate Bit Clear
Immediate selected bit position clear in each element.
wd[i] = bit_clear(ws[i], m)
Clear (set to 0) one bit in each element of vector ws. The bit position is given by the immediate m modulo the size of the element in bits. The result is written to vector wd.
The operands and results are values in integer data format df.
No data-dependent exceptions are possible.
BCLRI.B: t = m for i in 0 .. WRLEN/8-1 WR[wd]8i+7..8i = WR[ws]8i+7..8i and (17-t || 0 || 1t) endfor BCLRI.H: t = m for i in 0 .. WRLEN/16-1 WR[wd]16i+15..16i = WR[ws]16i+15..16i and (115-t || 0 || 1t) endfor BCLRI.W: t = m for i in 0 .. WRLEN/32-1 WR[wd]32i+31..32i = WR[ws]32i+31..32i and (131-t || 0 || 1t) endfor BCLRI.D: t = m for i in 0 .. WRLEN/64-1 WR[wd]64i+63..64i = WR[ws]64i+63..64i and (163-t || 0 || 1t) endfor
Reserved Instruction Exception, MSA Disabled Exception.