MSA 011110 |
101 |
df |
wt |
ws |
wd |
3R 001110 |
6 |
3 |
2 |
5 |
5 |
5 |
6 |
MIN_U.df |
Vector Unsigned Minimum | |
MIN_U.B wd,ws,wt |
MSA |
Vector Unsigned Minimum |
MIN_U.H wd,ws,wt |
MSA |
Vector Unsigned Minimum |
MIN_U.W wd,ws,wt |
MSA |
Vector Unsigned Minimum |
MIN_U.D wd,ws,wt |
MSA |
Vector Unsigned Minimum |
Vector Unsigned Minimum
Vector and vector unsigned minimum.
wd[i] = min(ws[i], wt[i])
in vector wt and unsigne d elements in vector ws are w ritten
Minimum values between unsigned elements to vector wd.
The operands and results are values in integer data format df.
No data-dependent exceptions are possible.
MIN_U.B for i in 0 .. WRLEN/8-1 WR[wd]8i+7..8i = min_u(WR[ws]8i+7..8i, WR[wt]8i+7..8i, 8) endfor MIN_U.H for i in 0 .. WRLEN/16-1 WR[wd]16i+15..16i = min_u(WR[ws]16i+15..16i, WR[wt]16i+15..16i, 16) endfor MIN_U.W for i in 0 .. WRLEN/32-1 WR[wd]32i+31..32i = min_u(WR[ws]32i+31..32i, WR[wt]32i+31..32i, 32) endfor MIN_U.D for i in 0 .. WRLEN/64-1 WR[wd]64i+63..64i = min_u(WR[ws]64i+63..64i, WR[wt]64i+63..64i, 64) endfor function min_u(ts, tt, n) t = 0 || tt s = 0 || ts if t > s then return ts else return tt endif endfunction min_u
Reserved Instruction Exception, MSA Disabled Exception.