Verify correctness of read-after-write behavior #1266
Labels
1
Usually one-liner tasks, but may require some deep into infrastructure.
good first issue
Good task to start with MIPT-MIPS development
S1 — ISA
To solve the issue, you need knowledge about MIPS or RISC-V ISA
testing
Improves testing coverage
Some RISC-V instructions perform writes to 2 destinations, either 2 register or register or program counter. In cases if the source of one sub-operation matches a destination of another one, the order of result output is important. The examples are
jalr
and instruction operating with CSRs:riscv-software-src/riscv-tests#258
riscv-software-src/riscv-tests#263
Your objective is to convert these test cases to unit tests, similarly to tests we have already:
mipt-mips/simulator/risc_v/t/unit_test.cpp
Lines 80 to 88 in 081acc6
After test implementation, you might have to fix our implementation of instructions in
alu.h
.After that, you may build and run test binaries from trackers mentioned above.
The text was updated successfully, but these errors were encountered: