-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Assertion `0 && "too long jmp distance"' failed with new JIT on AArch64 #12560
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
Comments
Thanks for the report. The problem should be fixed in PHP master branch. |
Thanks for your quick fix. |
Hi @dstogov, I just found functions BTW: I created another two issues #12596 and #12597 today. They also seem to be related to the new JIT. Could you help take a look? |
I know. I don't plan to actively work especially on AArch64 back-end, but in long run I plan to replace DynAsm with something more useful and this will of course affect AArch64 back-end as well. For now I'm going keep these functions. |
Thanks for all your quick fixes. Recently we monitored several PHP test failures after the integration of the new JIT. I'm currently running more tests on AArch64 with various of JIT options. So I will probably ping you in more GH issues in the coming weeks. I'm also looking into your implementation of the new JIT. From what I can see and understand so far, the AArch64 back-end of the new JIT has been well implemented. We appreciate your great work! I'm also looking for what I can do to make the AArch64 back-end better. Please let me know if there's anything we can help with the AArch64 codegen part. |
I'm not satisfied with current IR backends. Their implementations are too complex. Usage of DynAsm on one hand made the implementation more readable, but on the other hand leaded to code duplication and unnecessary slowdown. After fixing most new bugs and some stabilization, I plan to think how to make the back-ends better. |
Description
Hi @dstogov, we recently monitored below assertion failure after the integration of the new PHP JIT (#12079). The issue is reproducible by running some tests in the phpunit repo on AArch64.
PHP Version
master @ 4c6dbe0
Operating System
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: