diff options
Diffstat (limited to 'riscv/insns/smul8.h')
-rw-r--r-- | riscv/insns/smul8.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/smul8.h b/riscv/insns/smul8.h index 155e50e..a4a3ed9 100644 --- a/riscv/insns/smul8.h +++ b/riscv/insns/smul8.h @@ -1,3 +1,3 @@ P_MUL_LOOP(8, { - pd = ps1 * ps2; + pd = (int16_t)ps1 * (int16_t)ps2; }) |