aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vdiv_vx.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/vdiv_vx.h')
-rw-r--r--riscv/insns/vdiv_vx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/vdiv_vx.h b/riscv/insns/vdiv_vx.h
index 4052952..2b93eac 100644
--- a/riscv/insns/vdiv_vx.h
+++ b/riscv/insns/vdiv_vx.h
@@ -1,9 +1,9 @@
// vdiv.vx vd, vs2, rs1
VI_VX_LOOP
({
- if(rs1 == 0)
+ if (rs1 == 0)
vd = -1;
- else if(vs2 == (INT64_MIN >> (64 - sew)) && rs1 == -1)
+ else if (vs2 == (INT64_MIN >> (64 - sew)) && rs1 == -1)
vd = vs2;
else
vd = vs2 / rs1;