Skip to content

Port TCC (Tiny C Compiler) to support Risc-V 32 targets (specifically for the ESP32-C3). This project is a work-in-progress and is not currently functional. The goal is to push developments to upstream TCC once they are working.

License

Notifications You must be signed in to change notification settings

sellicott/tcc-riscv32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a continuation of riscv-32 port.

TODOs:

Fix incorrect relocation for LA ✅

Fix incorrect relocation when initialing array with anonymous struct which contains a pointer to a global symbol ✅

Add basic operaction for long long ✅

Add load/store calling/returing for long long

  • Optimize calling loads, currently takes three instructions, should only be 2
  • some bugs

Add soft floating point support

About

Port TCC (Tiny C Compiler) to support Risc-V 32 targets (specifically for the ESP32-C3). This project is a work-in-progress and is not currently functional. The goal is to push developments to upstream TCC once they are working.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published