riscv-software-src / riscv-pk

RISC-V Proxy Kernel
Other
595 stars 308 forks source link

[GCC]: Fix fence.i bug #296

Closed mga-sc closed 1 year ago

mga-sc commented 1 year ago

There are many issues: 260, 285, 287 has to be solved

This workaround helps to add neccessary zicsr and zifencei for cssr and fence.i accordingly.