riscv-software-src / riscv-perf-model

Example RISC-V Out-of-Order/Superscalar Processor Performance Core and MSS Model
Apache License 2.0
117 stars 43 forks source link

regress fails on unknown mnemonic csrrw #172

Closed jeffnye-gh closed 1 month ago

jeffnye-gh commented 1 month ago

I have regression fails, tried on riscv-perf-model and on my fork.

Please check my work. I did not see any previous reference to this error but I could have missed it.

MavisUnit.cpp was missing this file: isa_file_path + "/isa_rv64zicsr.json",

these tests failed for me on regress 1 - olympia_json_test (Subprocess aborted) 2 - olympia_json_test_report_text (Subprocess aborted) 3 - olympia_json_test_report_text_direct (Subprocess aborted) 4 - olympia_json_test_report_html (Subprocess aborted)

... Exception while running Unknown mnemonic 'csrrw' in ExtractorDirectInfo ... terminate called after throwing an instance of 'mavis::UnknownMnemonic' what(): Unknown mnemonic 'csrrw' in ExtractorDirectInfo ...

AaronGChan commented 1 month ago

Seeing the same error on local regression when integrating recent commits. Proposed changes fixes the issue for me.