rldicl / rldicr for 32-bit powerpc?

Sergey Fedorov vital.had at gmail.com
Sun Jul 16 12:03:45 UTC 2023


> However, patching it into a source file that needs it on a case-by-case
basis is probably a fairly trivial thing to do.

This is what I meant.

> The linked code is for an emulator, and is providing a *C*
implementation, not a ppc32 machine-code

Whatever provides the needed functionality, gonna be good enough, I guess.

Let me sort out some other stuff, and I will post here the related code
from Node.

On Sun, Jul 16, 2023 at 12:21 PM Fred Wright <fw at fwright.net> wrote:

>
> On Sat, 15 Jul 2023, Ken Cunningham wrote:
>
> > Adding it into cctools for the standard assembler to use whenever it
> > might be needed would be something of a project, to be sure...
>
> I think it would be highly unusual for an assembler to replace
> instructions for one architecture with instructions for another
> architecture, even when the two are related.  Anything generating actual
> machine instructions should know what architecture it's targeting, and
> generate appropriate code.
>
> > However, patching it into a source file that needs it on a case-by-case
> > basis is probably a fairly trivial thing to do.
>
> Probably so, once one works out the appropriate instructions.  That's not
> hard in principle (though trickier for the "dotted" versions), but I'm
> busy with other stuff right now (and don't currently have a working ppc64
> machine for comparison testing).  The linked code is for an emulator, and
> is providing a *C* implementation, not a ppc32 machine-code
> implementation.
>
> Fred Wright
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20230716/a14cf1cc/attachment.htm>


More information about the macports-dev mailing list