aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/khmx8.h
blob: 0d6a5d5ad8d0bd463b1bdd69819d44248437c989 (plain)
1
2
3
4
5
6
7
8
9
require_vector_vs;
P_CROSS_LOOP(8, {
  if ((ps1 != INT8_MIN) | (ps2 != INT8_MIN)) {
    pd = (ps1 * ps2) >> 7;
  } else {
    pd = INT8_MAX;
    P_SET_OV(1);
  }
},)