rvscript icon indicating copy to clipboard operation
rvscript copied to clipboard

CRT functions don't get inlined anymore

Open fwsGonzo opened this issue 1 year ago • 1 comments

After a certain change CRT functions stopped getting inlined. What happened?

$ riscv64-unknown-elf-objdump -drl level1.elf | grep memcpy | grep jal | wc -l
136

This was not the case when I implemented this feature.

fwsGonzo avatar Jan 16 '24 18:01 fwsGonzo

With some experimentation, basic heap allocations are now inlined again. Still missing memory- and string- operations.

fwsGonzo avatar May 21 '24 17:05 fwsGonzo