Conversation
|
Thanks for reviewing. It appears that during the 9 months since I submitted this, arm64 has already been enabled on master. I'll update the pull request to merge with that. |
|
@zeldin Yeah I was mostly interested in the POWER (ppc64el) support 😄 |
|
@madscientist159 I can imagine. Too bad the Talos thing didn't work out for you, I was really looking forward to getting one. 😞 |
|
@zeldin We're actually going to be launching a Talos II based on POWER9 in the next couple of months; no crowdfunding w/ prototypes already in house, as well as being significantly cheaper. Still interested in a Talos? 😉 |
|
@madscientist159 Woo! Sounds awesome. 😆 I'd definitely want in on that. 👍 |
|
Is the version of |
|
@barracuda156 Good question, I only tested it on Linux. I can test it later and report back. |
@zeldin Thank you, will be great! I wanna fix Boost for PPC in Macports. As a temporary solution, we disabled context & coroutine on <10.6 && 10.6 PPC: https://trac.macports.org/ticket/64978 Another question, beside building, is whether assembler code itself should be updated for specific version of Boost or not. For example, P. S. If you test it on Darwin, you may want this: #3 UPD. Ok, I was able to build |
|
@barracuda156 Ok, I've tested now. |
|
@zeldin Thanks for an update! |
|
|
|
@barracuda156 Hm, were you by any chance using |
|
@zeldin BTW have you built Fibonacci test? Assembler code in upstream still has issues and requires extra fixes. I will try to use the code from here and see if it works better (but it lacks one function altogether). |
|
@barracuda156 The only tests I have built are |
I tried using the code from here, and it also fails, unfortunately: macports/macports-ports#16407 (comment) (test and results below in the thread). It looks like the thing was/is fundamentally broken, and required substantial rewrite for some other platforms: |
|
@barracuda156 Well, the |
I meant I have built Boost context replacing assembler sources with ones from here (plus minimal changes to missing ontop_ppc32), and that also fails the test. It can be that something else is broken in Boost aside of assembler, of course. I didn’t think to build stand-alone libcontext and link to it, to be honest, but I could try that as a matter of experiment. P. S. I should have compared headers too, maybe something incompatible there. |
|
@barracuda156 Ok, so i shimmed the fibonacci example to use libcontext, result is here. This runs just fine on Mac OS X 10.5.8 PPC32, compiled with g++ 7.3.0 from Tigerbrew. If it runs for you as well then I guess your problems with Boost is either due to your changes to adapt the libcontext code to the new Boost API (it looks like the argument of the entry function is a struct with two elements rather than an |
@zeldin Thank you very much for checking! I will try to fix the thing in Boost.
It was broken in Boost to begin with, so no changes can make it worse LOL |
Yeah, no that's not going to be enough. The calling convention changed -- in the variant which is in libcontext you send in a pointer to |
Thank you. |
I tested this on NVIDIA Jetson TX1 (arm64) and on AmigaOne X1000 (ppc32 and ppc64).