Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
o1vm/mips: use u64 to avoid overflow when bitlength is 0
When bitlength = 0 and when compiling with `-Coverflow-checks=y`, the runtime alerts us that there is an overflow while shifting. Lifting the type to u64 and cast the value as u32 when the computation is done.
- Loading branch information