aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/smulx8.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/smulx8.h')
-rw-r--r--riscv/insns/smulx8.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/smulx8.h b/riscv/insns/smulx8.h
index b5ae41c..9270ce3 100644
--- a/riscv/insns/smulx8.h
+++ b/riscv/insns/smulx8.h
@@ -1,3 +1,3 @@
P_MUL_CROSS_LOOP(8, {
- pd = ps1 * ps2;
+ pd = (int16_t)ps1 * (int16_t)ps2;
})