[llvm] PPC750cl, and initial support for paired singles (PR #211463)

Cynthia Coan via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 23 07:58:30 PDT 2026


Mythra wrote:

> One different bit is that psq_l and psq_st are part of the paired singles instruction set extension. the 750CL user manual does not list these instructions. They are found on the Gekko, Broadway, and Espresso CPUs and would be a strange omission from the 750CL proper. I however do not possess a standard PPC 750CL to test these instructions with.

so I have the same CPUs to test as you do, and there could be a chance I am wrong. The reason I modeled psq_l, and psq_st this way mostly because I saw two other compilers who have had support for PairedSingles doing it this way (GCC being the most notable here). They both tie psq_l, and psq_st support behind "paired singles". I also agree it'd be weird for some PPC-750CL's to support this, but not others.

> 
> Some future notes for including LLVM codegen support for paired singles:
>

Thanks for your notes! While we're talking about it I also want to mention that a certain compiler will emit an `isync` to every function that uses _any_ PS instructions at all right before it returns. I don't see GCC doing this so I wasn't planning on modeling it in LLVM, but I figured it would be important to mention.

https://github.com/llvm/llvm-project/pull/211463


More information about the llvm-commits mailing list