jooris 6f6c84eac4 feat: differentiate between signed and unsigned multiplication
- Split `BinaryOp::Mul` into `BinaryOp::SMul` and `BinaryOp::UMul` in
the IR.
- Implement x86_64 codegen for `UMul` using the `mulq` instruction.
- Update `X86Backend` to use `imulq` specifically for `SMul`.
- Update constant folding and IR printer to support the new
multiplication operations.
- Optimize function epilogue by omitting the final `jmp` on fallthrough.
- Update `main` test case to use `build_umul`.
2026-04-27 13:36:17 +02:00
S
Description
No description provided
126 KiB
Languages
Rust 100%