riscv / riscv-CMOs

https://jira.riscv.org/browse/RVG-59
Creative Commons Attribution 4.0 International
76 stars 12 forks source link

Can CMO extension support icache management? #52

Closed weiqi7777 closed 2 years ago

weiqi7777 commented 2 years ago

I look CMO spec, and I feel that cmo don't manage icache.
So I am confused.

gfavor commented 2 years ago

You are correct. The CMO spec focuses on management of data caching. The separate "I/D Consistency" extension that is in the works in the J group specifically focuses on management of instruction caching - especially in the context of self and cross modifying code (such as occurs with JIT'ed languages for example).

weiqi7777 commented 2 years ago

thanks for your replay. I will close this issue.