DLR-FT / wasm-interpreter

A minimal in-place WebAssembly interpreter, written in Rust, almost without use of external dependencies
https://dlr-ft.github.io/wasm-interpreter/main/
Apache License 2.0
10 stars 4 forks source link

Feature + Test: i64 relational and equality op codes #75

Closed nerodesu017 closed 3 months ago

nerodesu017 commented 3 months ago

Pull Request Overview

This pull request adds the op codes from 0x50 till 0x5A (i64.eqz, i64.eq, i64.ne, i64.lt_s, i64.lt_u, i64.gt_s, i64.gt_u, i64.le_s, i64.le_u, i64.ge_s, i64.ge_u).

Testing Strategy

This pull request was tested locally using the tests from the WASM TestSuite

TODO or Help Wanted

N/A

Formatting

Github Issue

This pull request partially implements #2

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files Coverage Δ
src/execution/interpreter_loop.rs 93.53% <100.00%> (+0.44%) :arrow_up:
src/validation/code.rs 62.00% <100.00%> (+0.84%) :arrow_up: