Replies: 1 comment 1 reply
-
I’m a noob (and know nothing about RISC-V), but I suspect you’ll be more likely to get an answer if you post the code as assembly rather than a bunch of hex, so someone trying to answer your question doesn’t have to go hunting for a disassembler first. It’s always best to give people the information they need, when asking for help. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have integrated the C2MIR into our virtual machine rv32emu and observed that the performance of our virtual machine decreases when I increase the optimize_level using the MIR API
MIR_gen_set_optimize_level
. I would like to inquire about the reasons behind this phenomenon, thx.The MIR of these two different optimize_level_1 and optimize_level_3 is the same, so I list the machine code of them.
Machine code generated by
c2mir_compile
from same MIRExample
Dhrystone Benchmark Result
Beta Was this translation helpful? Give feedback.
All reactions