Overview
Comment: | Use .long 0x7C2004AC instead of lwsync
binutils on MorphOS is too old for lwsync. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
7fc5ab38adcca05bba232b0bfe8cb353 |
User & Date: | js on 2017-05-16 22:19:30 |
Other Links: | manifest | tags |
Context
2017-05-16
| ||
22:24 | socket.h: Include pthread.h on MorphOS check-in: 69b3cfed8a user: js tags: trunk | |
22:19 | Use .long 0x7C2004AC instead of lwsync check-in: 7fc5ab38ad user: js tags: trunk | |
22:11 | configure: Fix atomic ops PPC ASM check check-in: ae0351be5d user: js tags: trunk | |
Changes
Modified src/atomic_powerpc.h from [b80d8be5cc] to [f1efda9615].
︙ | ︙ | |||
373 374 375 376 377 378 379 | return r; } static OF_INLINE void of_memory_barrier(void) { __asm__ __volatile__ ( | | | | | 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 | return r; } static OF_INLINE void of_memory_barrier(void) { __asm__ __volatile__ ( ".long 0x7C2004AC /* lwsync */" ::: "memory" ); } static OF_INLINE void of_memory_barrier_acquire(void) { __asm__ __volatile__ ( ".long 0x7C2004AC /* lwsync */" ::: "memory" ); } static OF_INLINE void of_memory_barrier_release(void) { __asm__ __volatile__ ( ".long 0x7C2004AC /* lwsync */" ::: "memory" ); } |