Dear, Recently, I would like to add some customized RISC-V instructions as a supplement to gem5. Effective address named "EA" is calculated as follow in "riscv/isa/formats/mem.isa"
However, "offset" is calculated as sext<12>(IMM12) within the body of "def format Load". Such assignment is fit for non-compressed instruction. For compressed Load instructions (customized instructions by ourselves), however, how can I make "offset" a different value with the expected operations? Best Regards, Jiasen Huang
temp4cj.png
Description: Binary data
_______________________________________________ gem5-dev mailing list -- gem5-dev@gem5.org To unsubscribe send an email to gem5-dev-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s