aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/rsub64.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/rsub64.h')
-rw-r--r--riscv/insns/rsub64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/rsub64.h b/riscv/insns/rsub64.h
index 397c973..2a58485 100644
--- a/riscv/insns/rsub64.h
+++ b/riscv/insns/rsub64.h
@@ -2,7 +2,7 @@ P_64_PROFILE({
rd = (rs1 - rs2) >> 1;
if (rs1 > 0 && rs2 < 0) {
rd &= ~((reg_t)1 << 63);
- } else if(rs1 < 0 && rs2 > 0) {
+ } else if (rs1 < 0 && rs2 > 0) {
rd |= ((reg_t)1 << 63);
}
})