Skip to content

Problem with runing simulator with riscv-tests #1442

Answered by pavelkryukov
artykisa asked this question in UI/UX
Discussion options

You must be logged in to vote

Sorry, I was not precise, this string was a bad example.
In shot, RISC-V ISA has few sub-sets, and each subset is encoded with a single letter: A for atomic, B for bit manipulations, C for compressed, etc.

To disable compressed instructions, add to this line:
https://github.com/riscv/riscv-tests/blob/58eb560a84ea2d6a392f7e75bba649a0c5946617/benchmarks/Makefile#L40

following options:
-march=rv64im -mabi=lp64

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pavelkryukov
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
UI/UX
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1442 on December 10, 2020 14:55.