aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/smmul_u.h
blob: 55fa617fa3880938be17df791c0c50ce16b21320 (plain)
1
2
3
4
P_LOOP(32, {
  int64_t mres = (int64_t) ps1 * (int64_t) ps2;
  pd = ((mres >> 31) + 1) >> 1;
})