aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vmsgtu_vi.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/vmsgtu_vi.h')
-rw-r--r--riscv/insns/vmsgtu_vi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/vmsgtu_vi.h b/riscv/insns/vmsgtu_vi.h
index ad8449a..ee47e50 100644
--- a/riscv/insns/vmsgtu_vi.h
+++ b/riscv/insns/vmsgtu_vi.h
@@ -1,5 +1,5 @@
// vsgtu.vi vd, vd2, simm5
VI_VI_ULOOP_CMP
({
- res = vs2 > simm5;
+ res = vs2 > (insn.v_simm5() & (UINT64_MAX >> (64 - P.VU.vsew)));
})