Skip to content

HL2 JIT#911

Open
ncannasse wants to merge 76 commits into
masterfrom
hl2_ir
Open

HL2 JIT#911
ncannasse wants to merge 76 commits into
masterfrom
hl2_ir

Conversation

@ncannasse
Copy link
Copy Markdown
Member

This is a WIP branch with a new JIT using an Intermediate Representation (IR) and optimized register allocation.
This will allow more easy maintain, ports to ARM or other CPUs, and better runtime performances

@skial skial mentioned this pull request Mar 24, 2026
1 task
@ncannasse
Copy link
Copy Markdown
Member Author

@bmdhacks this new version is passing haxe unit tests. It still have a few issues that I need to investigate and I need to update debugger support but it's a good basis for ARM support as only the code generator needs to be swapped (and maybe a few fixes here and there).

@bmdhacks
Copy link
Copy Markdown

bmdhacks commented May 9, 2026

@bmdhacks this new version is passing haxe unit tests. It still have a few issues that I need to investigate and I need to update debugger support but it's a good basis for ARM support as only the code generator needs to be swapped (and maybe a few fixes here and there).

Cool I'll take a look. Are you interested in any pull requests from me to add some functionality that my jit has that's missing here?

@ncannasse
Copy link
Copy Markdown
Member Author

@bmdhacks this new version is passing haxe unit tests. It still have a few issues that I need to investigate and I need to update debugger support but it's a good basis for ARM support as only the code generator needs to be swapped (and maybe a few fixes here and there).

Cool I'll take a look. Are you interested in any pull requests from me to add some functionality that my jit has that's missing here?

I'm still a bit in the middle of development, but if I have time to integrate them yeah. What kind of thing were you missing?

@bmdhacks
Copy link
Copy Markdown

@bmdhacks this new version is passing haxe unit tests. It still have a few issues that I need to investigate and I need to update debugger support but it's a good basis for ARM support as only the code generator needs to be swapped (and maybe a few fixes here and there).

Cool I'll take a look. Are you interested in any pull requests from me to add some functionality that my jit has that's missing here?

I'm still a bit in the middle of development, but if I have time to integrate them yeah. What kind of thing were you missing?

Ok, but did you want me to port my aarch64 jit to this IR, or were you wanting to do it yourself?

@ncannasse
Copy link
Copy Markdown
Member Author

I'll leave the arm support to you 😉

@bmdhacks
Copy link
Copy Markdown

I'll leave the arm support to you 😉

Here you go:
#932

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants