Changes between Initial Version and Version 1 of Ticket #64262, comment 14


Ignore:
Timestamp:
May 12, 2022, 11:16:25 AM (2 years ago)
Author:
barracuda156
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #64262, comment 14

    initial v1  
    33
    44Okay, I have found a cause of the problem myself: this instruction is defined unconditionally, but is invalid in Darwin ABI:
    5 ```
     5{{{
    66#elif defined(__powerpc64__) || defined(__ppc64__) || defined(__PPC64__)
    77  __asm__ __volatile__ ("or 1,1,1; or 2,2,2" ::: "memory");
    88#endif
    9 ```
     9}}}
    1010As a quick fix, this helps:
    11 ```
     11{{{
    1212#elif !defined(__APPLE_) && (defined(__powerpc64__) || defined(__ppc64__) || defined(__PPC64__))
    1313  __asm__ __volatile__ ("or 1,1,1; or 2,2,2" ::: "memory");
    1414#endif
    15 ```
     15}}}
    1616
    1717However if anyone could advise me on Darwin PPC assembler, we can fix it properly (and improve for ppc32).