Open westtide opened 1 month ago
Those seem reasonable to me. The riscv64.toml
file corresponds to a more recent version of the model than the one in snapshots (if you want to try an up-to-the-minute version you could try the Makefile
addition for the riscv repository in #82), and I think the ubuntu one is older. You don't need to worry about the softfloat
warnings - they're just observing that Isla doesn't have functions for floating point operations.
Hi, I’m using Isla on
Ubuntu 20.04 LTS
withgcc-riscv64-unknown-elf
for RISC-V, and I cloned the isla-snapshots repository for the latest snapshots. However, I’ve encountered the following issues: I triedwhich corresponds to the RISC-V instruction
add x3, x1, x2
, received the following error:The error seems related to the
in_program_order = ["sail_barrier"]
line in theconfigs/riscv64.toml
.Besieds, I tried running the same command with the
riscv64_ubuntu.toml
, following:This resulted in the error:
Therefore, I add
nm = "riscv64-unknown-elf-nm"
toconfigs/riscv64_ubuntu.toml
, and it succeed finally, with an smt-lib2 formulaHowever, I noticed multiple warnings such as:
I am not sure if they suggest a missing configuration for
primitive operations
, while these do not cause errors.I am still familiarizing myself with the project and experimenting with modifying the config files to improve these outputs. Could you please confirm if my changes so far are appropriate? Thanks!