Differences From Artifact [b80d8be5cc]:
- File src/atomic_powerpc.h — part of check-in [2ae547a69a] at 2017-05-13 19:31:14 on branch trunk — atomic_powerpc.h: Add cc & memory to clobber list (user: js, size: 7134) [annotate] [blame] [check-ins using]
To Artifact [f1efda9615]:
- File
src/atomic_powerpc.h
— part of check-in
[7fc5ab38ad]
at
2017-05-16 22:19:30
on branch trunk
— Use .long 0x7C2004AC instead of lwsync
binutils on MorphOS is too old for lwsync. (user: js, size: 7203) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
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" ); } |