Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sim/riscv: fix multiply instructions on simulator
After this commit: commit 0938b03 Date: Wed Feb 2 10:06:15 2022 +0900 RISC-V: Add 'Zmmul' extension in assembler. some instructions in the RISC-V simulator stopped working as a new instruction class 'INSN_CLASS_ZMMUL' was added, and some existing instructions were moved into this class. The simulator doesn't currently handle this instruction class, and so the instructions will now cause an illegal instruction trap. This commit adds support for INSN_CLASS_ZMMUL, and adds a test that ensures the affected instructions can be executed by the simulator. Reviewed-by: Palmer Dabbelt <[email protected]> Reviewed-by: Andrew Burgess <[email protected]>
- Loading branch information