programmerjake commented on Issue #1183:
Libre-SOC is thinking about writing a PowerPC64 backend for Cranelift, since we want to use Cranelift as a backend for our Kazan graphics driver (this is similar to RADV and ACO).
Libre-SOC (formerly Libre-RISCV) is a open-source/libre project that is currently building a completely libre processor that is a hybrid CPU/GPU that implements the Power ISA, as well as custom GPU instructions. We have funding available from NLNet. We plan on selling a 28nm 4-core chip for mobile and embedded applications, and are also potentially building a much higher performance GPU for RaptorCS.
tschneidereit commented on Issue #1183:
@programmerjake that's great to hear! A few things that might be good to note:
- We recently introduced a new instruction selection framework and register allocator. Both of those are used in the new Aarch64 backend, and we'll eventually move everything over to the new architecture. That means that any work on a new backend should definitely use this new architecture.
Additionally, it'd be good to learn more about what your plans are around this, and what the implications for the cross-isa parts of the code base would be. I.e., do you intend for this work to land in this repository eventually, or do you expect to maintain it in an external downstream repository? If the former, do you plan to introduce robust continuous testing and releases as part of our existing CI pipeline?
We recently had a conversation about similar topics in the context of SPIR-V with @jasper-bekkers in our Zulip, which might be interesting to look at. Feel free to drop by the Zulip to chat about this more in general! :)
bjorn3 commented on Issue #1183:
For those who have a hard time finding the powerpc specification like I did: https://openpowerfoundation.org/?resource_lib=power-isa-version-3-0
programmerjake commented on Issue #1183:
For those who have a hard time finding the powerpc specification like I did: https://openpowerfoundation.org/?resource_lib=power-isa-version-3-0
Version 3.1 has been out for a few months, however the download links appear to have been recently broken. Archive.org does not appear to have a copy.
See replies to: https://twitter.com/carlos_seo/status/1259976682158555139?s=20
programmerjake commented on Issue #1183:
For those who have a hard time finding the powerpc specification like I did: https://openpowerfoundation.org/?resource_lib=power-isa-version-3-0
Version 3.1 has been out for a few months, however the download links appear to have been recently broken. Archive.org does not appear to have a copy.
Found it: https://wiki.raptorcs.com/w/images/f/f5/PowerISA_public.v3.1.pdf
programmerjake commented on Issue #1183:
@programmerjake that's great to hear! A few things that might be good to note:
\<snip> That means that any work on a new backend should definitely use this new architecture.
Sounds good!
We're currently focusing our efforts on the hardware side, since we have some looming deadlines. We will probably start working on the Cranelift backend in a few months, once we can focus on the software side again.
Additionally, it'd be good to learn more about what your plans are around this, and what the implications for the cross-isa parts of the code base would be. I.e., do you intend for this work to land in this repository eventually, or do you expect to maintain it in an external downstream repository?
We intend to upstream all code, though might have a downstream fork to allow for more rapid development.
If the former, do you plan to introduce robust continuous testing and releases as part of our existing CI pipeline?
We don't have any specific plans yet, though we do have a POWER9 server that RaptorCS has generously lent us. Another option is for Cranelift to apply for their own CI resources, available for free for open-source projects at https://osuosl.org/services/powerdev/
Our processor is not far enough along to run Linux yet.
We recently had a conversation about similar topics in the context of SPIR-V with @Jasper-Bekkers in our Zulip, which might be interesting to look at. Feel free to drop by the Zulip to chat about this more in general! :)
Neat, may do that.
Last updated: Nov 22 2024 at 16:03 UTC