diff options
Diffstat (limited to 'riscv/insns/smulx16.h')
-rw-r--r-- | riscv/insns/smulx16.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/smulx16.h b/riscv/insns/smulx16.h index 14ae047..58e9a08 100644 --- a/riscv/insns/smulx16.h +++ b/riscv/insns/smulx16.h @@ -1,3 +1,3 @@ P_MUL_CROSS_LOOP(16, { - pd = ps1 * ps2; + pd = (int32_t)ps1 * (int32_t)ps2; }) |