EEC-Developers / eec

Enhanced E Compiler - AmigaE programming
Other
12 stars 3 forks source link

Incorporate into GCC #26

Open SamuraiCrow opened 1 year ago

SamuraiCrow commented 1 year ago

Despite the name, LibGCCJIT is a generic optimizer and backend for any frontend. It was declared stable in about GCC10 or so.

Benefits include static single-assign architecture (SSA), and basic block support to improve branch reductions and multiple processor and processor generation backends.

Prerequisites include #5 and replaces #3 , #6 and #2 .

SamuraiCrow commented 1 year ago

5 has been merged with this one. Being able to create any kind of library support is needed for this one to clear.

SamuraiCrow commented 1 year ago

A GCC backend outright may prove to be more effortless than LibGCCJIT. I've changed the name if this issue accordingly.

SamuraiCrow commented 1 year ago

Needs docs from https://github.com/rofirrim/gcc-tiny for implementation.

SamuraiCrow commented 1 year ago

https://thinkingeek.com/gcc-tiny/ is the tutorial than accompanies the gcc-tiny sources in the previous comment.

SamuraiCrow commented 1 year ago

A new fork of GCC-Tiny is being updated by myself and presently one other, to update it to newer GCC versions. If anyone wants to join, let me know.

SamuraiCrow commented 1 year ago

Current API docs are at https://gcc.gnu.org/onlinedocs/gcc-13.2.0/jit/