blob: 5f8d5f59341885617d941c10c895a0f8af20b57e (
plain)
1
2
3
4
5
6
7
8
9
|
// vaadd: Averaging adds of integers
VRM xrm = P.VU.get_vround_mode();
VI_VI_LOOP
({
int64_t result = simm5 + vs2;
INT_ROUNDING(result, xrm, 1);
result = vzext(result >> 1, sew);
vd = result;
})
|