Changes between Initial Version and Version 1 of Ticket #64262, comment 14
- Timestamp:
- May 12, 2022, 11:16:25 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #64262, comment 14
initial v1 3 3 4 4 Okay, I have found a cause of the problem myself: this instruction is defined unconditionally, but is invalid in Darwin ABI: 5 ``` 5 {{{ 6 6 #elif defined(__powerpc64__) || defined(__ppc64__) || defined(__PPC64__) 7 7 __asm__ __volatile__ ("or 1,1,1; or 2,2,2" ::: "memory"); 8 8 #endif 9 ``` 9 }}} 10 10 As a quick fix, this helps: 11 ``` 11 {{{ 12 12 #elif !defined(__APPLE_) && (defined(__powerpc64__) || defined(__ppc64__) || defined(__PPC64__)) 13 13 __asm__ __volatile__ ("or 1,1,1; or 2,2,2" ::: "memory"); 14 14 #endif 15 ``` 15 }}} 16 16 17 17 However if anyone could advise me on Darwin PPC assembler, we can fix it properly (and improve for ppc32).