PS5 Basic support added to LLVM/Clang toolchain and compiler

PlayStation scene developer bigboss (psxdev) points out that basic PS5 support has been added to the popular LLVM Toolchain. This could pave the way to an open source toolchain/SDK for the PS5 scene.
What is LLVM
LLVM is a set of compiler and toolchain technologies, which can be used to develop a front end for any programming language and a back end for any instruction set architecture. LLVM is designed around a language-independent intermediate representation (IR) that serves as a portable, high-level assembly language that can be optimized with a variety of transformations over multiple passes
One of the most popular components of LLVM is probably clang, a C/C++ compiler.
What’s going on with PS4/PS5 and LLVM?
PlayStation have been using LLVM for the PS4 and the PS5, and have regularly brought back some of their console’s specific patches to the LLVM project. It’s likely this helps reduce maintenance load on their end (to avoid having to apply patches constantly on their own fork of the toolchain), and is probably also a way to give back to the open source community.
It’s unclear to us if they are legally required to push those patches to LLVM, as the LLVM license is known to be quite permissive, but Bigboss seems to imply he has been asking Sony for these patches to be brought for a while now, as early as July last year.
The recent patch that adds “Basic PS5 driver behavior” was committed by Paul Robinson of PlayStation, a week ago.
The added PS5 support so far is only a series of minor patches, exclusively within the clang compiler, to add support for the PS5 and its prospero SDK. Last week’s change only seems to add minimal support, in particular mostly merging PS4 specific functions into a more generic, “PS” naming convention, for code that is shared between the PS5 and PS4. More preparatory PS5 changes had been added to LLVM over the past few weeks (here, and here)
Could this lead to an open source PS5 SDK?
The toolchain in itself is of course not a PS5 SDK, but it’s a critical component to compiling binaries for the PS5. Bigboss sees it as a potential starting point for an open source (homebrew) PS5 SDK, to which Retroarch developer fjtrujy has made a tongue in cheek “challenge accepted” reply.
Challenge Accepted https://t.co/W6X9SqX65Q
— Francisco J. Trujillo (@fjtrujy) April 21, 2022
We’re of course very far from a possibility to develop homebrew for the PS5, with no PS5 jailbreak in sight.
Source: via psxdev
Playing your console on your old ps3,playing zombies or beating tales of sypmonia on your gamecube Ya, sony might bring ads to those gems ,,,,,,,,while PLAYING : O you’ll have to pause your session to watch ads. AHHHHHH get handheld pc.
I hope that ps5 will be never broken
PlayStation should Give us Linux Support already
Instead of first comments why don’t we focus on the absolute *** mess that wololo’s “blog” has become.
It was completely ridiculous about 5 years ago with the *** ads you were shoving in our face buddy. The response I had received when I complained was that you were working with them to create a better experience for the end users.
In the last 2 to 3 months it has gone beyond *** ridiculous wololo. Have you not logged in from a mobile in the last 5 years?, let alone the last couple of months?
Please at least try to do something this time. I don’t mind an ad to enjoy content, but this is *** ridiculous anymore man.
I there. Sorry that you are getting a terrible experience. I have dramatically reduced ads, to the extent that I control, over the past few months, so I’m surprised you are seeing the opposite. I am not in full control of what adsense platforms show on the site at this point, it all set to “auto ads”. If it’s getting beyond annoying, the best suggestion I have at the moment is that you use an ad blocker. Sorry I haven’t been able to do better.