Use msync or se_isync as appropriate for CodeWarrior PPC

This commit is contained in:
Jordan Williams
2022-06-21 17:41:58 -05:00
parent f2ab3b21f0
commit f617bd173f

View File

@@ -64,7 +64,15 @@ inline long atomic_decrement( register long * pw )
asm asm
{ {
#if defined(__PPCZen__) || defined(__PPCe500__) || defined(__PPCe500v2__)
# if VLE_ON
se_isync
# else
msync
# endif
#else
sync sync
#endif
loop: loop: