riscv-software-src / riscv-tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.option rvc make the test wrong

qz5e20 opened this issue · comments

During my test, isa/rv32mi/ma_fetch.S made some errors.
According to the check, I found the code isa/rv64si/ma_fetch.S cause this
Code, The j pass instruction on line 132 can't be translated properly by the translator, but if you comment out the .option rvc on line 129 and change the c.nop on line 130 to nop it is possible to pass. In 32-bit, rv32mi's -march option adding the c directive to run with the original code at line 90 corresponding to isa's Makefile file also still reports an error. I don't know how to solve this problem, can anyone help me?