MIPS: Fix memory barriers for atomic operations.
authorplind44@gmail.com <plind44@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 11 Jun 2013 14:30:43 +0000 (14:30 +0000)
committerplind44@gmail.com <plind44@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 11 Jun 2013 14:30:43 +0000 (14:30 +0000)
commit8f66deead7a65ab72f0890c9753e392f2f656fad
tree1834c6896237772d4da189ca15815b939bbc3529
parent6da97b1d4a91f7957ffc64cb5df4ba7b2183f2b0
MIPS: Fix memory barriers for atomic operations.

Add barriers using MIPS 'sync' instructions as needed for SMP
systems.

BUG=246947
R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/15981017

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15062 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/atomicops_internals_mips_gcc.h