( Due: Oct 30, 2019 )
RV32I_CFLAGS
to experiment. e.g. Change -O3
(optimized for speed) to -Os
(optimized for size).ecall
shall be taken into considerations.emu-rv32i
for the statistics of execution flow and explain the internal counters such as true_counter
, true_counter
(crucial for branch prediction), jump_counter
, etc. Then, try to optimize the generated assembly. You shall read RISC-V Assembly Programmer's Manual carefully and modify Makefile in order to append new assembly targets.