aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/kmmawt2_u.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/kmmawt2_u.h')
-rw-r--r--riscv/insns/kmmawt2_u.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/kmmawt2_u.h b/riscv/insns/kmmawt2_u.h
index 7fe378c..b82e090 100644
--- a/riscv/insns/kmmawt2_u.h
+++ b/riscv/insns/kmmawt2_u.h
@@ -3,7 +3,7 @@ P_LOOP(32, {
int64_t addop = 0;
int64_t mres = 0;
bool sat = false;
- if((INT32_MIN != ps1) | (INT16_MIN != P_SH(ps2, 1))) {
+ if ((INT32_MIN != ps1) | (INT16_MIN != P_SH(ps2, 1))) {
mres = ((int64_t) ps1 * P_SH(ps2, 1)) << 1;
addop = ((mres >> 15) + 1) >> 1;
} else {