rldicl / rldicr for 32-bit powerpc?

Ken Cunningham ken.cunningham.webuse at gmail.com
Sun Jul 16 02:36:09 UTC 2023


Adding it into cctools for the standard assembler to use whenever it might be needed would be something of a project, to be sure...

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



> On Jul 15, 2023, at 11:45 AM, Sergio Had <vital.had at gmail.com> wrote:
> 
> Well, I didn’t mean copy-pasting the patch, of course, it was just the only relevant thing that was found.
> 
> NodeJS uses those instructions in some procedures (either in codebase or PPC-specific patches), and I am looking to fixing it finally for 32-bit.
> On Jul 16, 2023 02:39 +0800, Fred Wright <fw at fwright.net>, wrote:
>> 
>> On Sat, 15 Jul 2023, Sergey Fedorov wrote:
>> 
>>> Is there an implementation to replace these on ppc32?
>>> 
>>> There is some Linux version online which I found:
>>> https://patchwork.kernel.org/project/kvm/patch/1403472217-22263-30-git-send-email-agraf@suse.de/
>>> But since it is a magic code, no idea if it is portable or not.
>> 
>> You'd have to be more specific about the intended context. AFAIK,
>> OSX/macOS didn't have anything like KVM until 10.10, so this specific
>> patch wouldn't be relevant.
>> 
>> Fred Wright



More information about the macports-dev mailing list