blob: d934330ed8339ce5234aa171a1ea6b897df63070 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
require_rv64;
P_LOOP(32, {
int32_t aop = P_SH(ps1, 0);
int32_t bop = P_SH(ps2, 1);
if ((INT16_MIN != aop) | (INT16_MIN != bop)) {
pd = aop * bop;
pd <<= 1;
} else {
pd = INT32_MAX;
P_SET_OV(1);
}
})
|