Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorporate into GCC #26

Closed
SamuraiCrow opened this issue Jan 26, 2023 · 7 comments
Closed

Incorporate into GCC #26

SamuraiCrow opened this issue Jan 26, 2023 · 7 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@SamuraiCrow
Copy link
Contributor

SamuraiCrow commented Jan 26, 2023

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
Copy link
Contributor Author

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

@SamuraiCrow SamuraiCrow added this to the Release 2.0 milestone May 1, 2023
@SamuraiCrow SamuraiCrow changed the title Incorporate LibGCCJIT Incorporate into GCC May 27, 2023
@SamuraiCrow
Copy link
Contributor Author

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

@SamuraiCrow
Copy link
Contributor Author

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

@SamuraiCrow
Copy link
Contributor Author

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

@SamuraiCrow
Copy link
Contributor Author

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
Copy link
Contributor Author

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

@SamuraiCrow
Copy link
Contributor Author

MIT licensed backend, QBE, is a much lighter weight alternative to either LibGCCJIT or LLVM so it might be a better short-term solution than either of those. It has a small enough memory footprint to run on 68k Amigas by the looks of it.

@SamuraiCrow SamuraiCrow added the wontfix This will not be worked on label Jan 24, 2025
@SamuraiCrow SamuraiCrow removed this from the Release 3.0 milestone Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant