Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISA strings passed to compiler and to emulator #105

Open
ved-rivos opened this issue Jan 14, 2024 · 0 comments
Open

ISA strings passed to compiler and to emulator #105

ved-rivos opened this issue Jan 14, 2024 · 0 comments

Comments

@ved-rivos
Copy link

I face two issues:

  1. When multiple ISA string options are provided, the tool seems to always pick the first one in the list. Even if that option is not present in the isa.yaml. For instance if test has RVTEST_ISA("RV32IB,RV32IZbb,RV32IZbkb,RV32IZk,RV32IZkn,RV32IZks") and spike_isa.yaml ISA string is RV32IMCZicsr_Zifencei_Zba_Zbb_Zbs, the Makefile is produced with -march=rv32ib and not rv32izbb. Moving RV32IZbb up in the list changes this and now the tool will use -march=rv32izbb.
  2. The ISA string in spike_isa.yaml is not passed to spike on spike command line. The Makefile produced has - spike --isa=rv32imc - and none of the Z* options from the ISA string get passed to spike.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant