Implement `checked_mod` for `i64`
Open
- Dominant language
- Rust
- Stars
- 115
- Forks
- 84
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 15
Description
Start at `OpEmitter::checked_mod` and add `OpEmmitter::checked_mod_i64` that calls the new intrinsic (add it) at `codegen/masm/intrinsics/i64.masm`.
Contributor guide
Research direction
The issue points to OpEmitter::checked_mod and codegen/masm/intrinsics/i64.masm. Start by locating the OpEmitter struct and its checked_mod method to understand the pattern. Then, examine the existing i64 intrinsics in the specified file to see how new ones are added. Implement checked_mod_i64 by following the same conventions, ensuring it calls a new intrinsic. Verify by building the compiler and running any relevant tests for i64 operations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100