libriscv / rvscript

Fast RISC-V-based scripting backend for game engines
MIT License
238 stars 7 forks source link

CRT functions don't get inlined anymore #8

Open fwsGonzo opened 8 months ago

fwsGonzo commented 8 months ago

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 commented 3 months ago

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