diff options
Diffstat (limited to 'riscv/insns/vmadc_vvm.h')
-rw-r--r-- | riscv/insns/vmadc_vvm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/vmadc_vvm.h b/riscv/insns/vmadc_vvm.h index eae71d2..a5d54c6 100644 --- a/riscv/insns/vmadc_vvm.h +++ b/riscv/insns/vmadc_vvm.h @@ -2,7 +2,7 @@ VI_VV_LOOP_CARRY ({ auto v0 = P.VU.elt<uint64_t>(0, midx); - const uint64_t mmask = (UINT64_MAX << (64 - mlen)) >> (64 - mlen - mpos); + const uint64_t mmask = UINT64_C(1) << mpos; \ const uint128_t op_mask = (UINT64_MAX >> (64 - sew)); uint64_t carry = insn.v_vm() == 0 ? (v0 >> mpos) & 0x1 : 0; |