-
Notifications
You must be signed in to change notification settings - Fork 5.4k
ppc/ppc64 coroutines: save/restore CR as well #13007
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
base: master
Are you sure you want to change the base?
Conversation
Corresponding change for ppc64le: ruby@d8a2159
Thanks, have you tested it? |
Fiber test in basic test suite passes (though it passed before this change likewise). Could you suggest some more specific test case to run? |
I would just run the entire CRuby test suite, if it passes, it is probably okay. I am happy to merge this on the basis that it only affects older PPC architecture, and I trust that if there are issues you will follow up (as I'm sure you are a consumer of this code). |
Ah, do we also need to update |
Does ppc64le also need similar fix? |
I recall there were unrelated issues with some tests, but I will try (and maybe we can fix something on the way). P. S. BTW since recently I cannot build Ruby from master due to some gem failing in the very end of the build. Tried a few times, it seems to be still broken. This was the last commit that still worked: 7ed08c4 |
I am okay if you confirmed the tests on an older build + this PR. |
@ioquatix @nobu So here is the result for master from 7ed08c4 with the patch from this PR applied:
|
@ioquatix BTW, though unrelated to this PR, maybe you could say why this keeps failing with newer Ruby master (this is the build, not tests):
Where it happens:
|
@barracuda156 thanks for testing this. I don't have the ability to test PPC build and/or test issues, sorry. However, maybe consider opening a separate issue or bugs.ruby-lang.org issue? Regarding this:
Do we need to update it from 20 to 21 (and the relevant documentation)? Maybe the same for ppc64 too? Actually, I don't understand what the +4 is for - we don't seem to use it. Is it a guard on returning from the start coroutine? |
Corresponding change for ppc64le: d8a2159
@nobu @ioquatix