mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-08-02 06:04:27 +02:00
Use msync or se_isync as appropriate for CodeWarrior PPC
This commit is contained in:
@@ -64,7 +64,15 @@ inline long atomic_decrement( register long * pw )
|
||||
|
||||
asm
|
||||
{
|
||||
#if defined(__PPCZen__) || defined(__PPCe500__) || defined(__PPCe500v2__)
|
||||
# if VLE_ON
|
||||
se_isync
|
||||
# else
|
||||
msync
|
||||
# endif
|
||||
#else
|
||||
sync
|
||||
#endif
|
||||
|
||||
loop:
|
||||
|
||||
|
Reference in New Issue
Block a user